inputs: &[(1, 0, 0, inscription("text/plain", "hello").to_witness())], ..Default::default() }); let inscription_id = InscriptionId { txid, index: 0 }; context.mine_blocks(1); context.index.assert_inscription_location( inscription_id, SatPoint { outpoint: OutPoint { txid, vout: 0 }, offset: 0, }, Some(50 * COIN_VALUE), ); let send_txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(2, 0, 0, Default::default()), (2, 1, 0, Default::default())], ..Default::default() }); context.mine_blocks(1); context.index.assert_inscription_location( inscription_id, SatPoint { outpoint: OutPoint { txid: send_txid, vout: 0, }, offset: 50 * COIN_VALUE, }, Some(50 * COIN_VALUE), ); } } #[test] fn merged_inscriptions_are_tracked_correctly() { for context in Context::configurations() {