timestamp: 3, number: 1, ..Default::default() }, ), ], [ ( OutPoint { txid: txid0, vout: 0, }, vec![(id0, u128::max_value())], ), ( OutPoint { txid: txid1, vout: 0, }, vec![(id1, u128::max_value())], ), ], ); } #[test] fn edicts_with_id_zero_are_skipped() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); let txid0 = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())], op_return: Some( Runestone { edicts: vec![Edict { id: 0, amount: u128::max_value(), output: 0, }], etching: Some(Etching { rune: Rune(RUNE), ..Default::default() }), ..Default::default()