inputs: &[( 2, 1, 0, inscription("text/plain;charset=utf-8", "hello").to_witness(), )], ..Default::default() }); let second = InscriptionId { txid, index: 0 }; context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[( 3, 1, 0, inscription("text/plain;charset=utf-8", "hello").to_witness(), )], ..Default::default() }); let third = InscriptionId { txid, index: 0 }; context.mine_blocks(1); let location = SatPoint { outpoint: OutPoint { txid, vout: 0 }, offset: 0, }; assert_eq!( vec![(location, first), (location, second), (location, third)], context .index .get_inscriptions_on_output_with_satpoints(OutPoint { txid, vout: 0 }) .unwrap() ) } } #[test] fn reinscriptions_are_ordered_correctly_for_many_outpoints() {