}); context.mine_blocks(1); let id = RuneId { height: 2, index: 1, }; context.assert_runes( [( id, RuneEntry { burned: 100, etching: txid, rune: Rune(RUNE), supply: 200, timestamp: 2, ..Default::default() }, )], [(OutPoint { txid, vout: 0 }, vec![(id, 100)])], ); } #[test] fn allocations_to_invalid_outputs_are_ignored() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())], op_return: Some( Runestone { edicts: vec![ Edict { id: 0, amount: 100, output: 0, }, Edict { id: 0, amount: 100, output: 3, }, ], etching: Some(Etching {