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 one_input_fee_spent_inscriptions_are_tracked_correctly() { for context in Context::configurations() { context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("text/plain", "hello").to_witness())],

Inscription #44972190

ID

93db2cb927...1855f3dfi0

Detail

History

Action
Price
Marketplace
From
To
Time

INSCRIBED

-

-

-lf9x

9 months

Sign Up for our Newsletter

And be the first to know about any updates!

OrdinalHub logo

All Rights Reserved OrdinalHub.com 2024

Support

Follow Us