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

Inscription #44968972

ID

83146e12e4...8cfce0d3i0

Detail

History

Action
Price
Marketplace
From
To
Time

INSCRIBED

-

-

-5jtz

7 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