); assert_eq!( context .index .get_inscription_entry(inscription_id) .unwrap() .unwrap() .inscription_number, -1 ); } } #[test] fn inscription_with_pointer_to_parent_is_cursed_reinscription() { for context in Context::configurations() { context.mine_blocks(1); let parent_txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("text/plain", "parent").to_witness())], ..Default::default() }); context.mine_blocks(1); let parent_inscription_id = InscriptionId { txid: parent_txid, index: 0, }; let child_inscription = Inscription { content_type: Some("text/plain".into()), body: Some("pointer-child".into()), parent: Some(parent_inscription_id.parent_value()), pointer: Some(0u64.to_le_bytes().to_vec()), ..Default::default() }; let txid = context.rpc_server.broadcast_tx(TransactionTemplate {

Inscription #44969745

ID

cffc83bc6c...1733f556i0

Detail

History

Action
Price
Marketplace
From
To
Time

INSCRIBED

-

-

-r02v

8 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