Transaction e59ceb8d8b0508f92d7cf855cd00ebf0a461a82e5200d2bcb8c25df2663e69ea
1 Input
-
f7ae6372142be17ad8ce8ecfc58afd3551f4c503466d7f549963e3c893fdfc9c:0
OP_DATA_32(32) ab8a32457364195314d7d8a5de7081a1b4339d1095a076edc5f6f65d7859c73dOP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_24(24) text/plain;charset=utf-8OP_0(0)OP_PUSHDATA2(77) let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, witness)], fee: 33, ..Default::default() }); let first = InscriptionId { txid, index: 0 }; let second = InscriptionId { txid, index: 1 }; context.mine_blocks(1); assert_eq!( context .index .get_inscription_entry(first) .unwrap() .unwrap() .fee, 11 ); assert_eq!( context .inOP_PUSHDATA2(77) dex .get_inscription_entry(second) .unwrap() .unwrap() .fee, 11 ); } } #[test] fn reinscription_on_cursed_inscription_is_not_cursed() { for context in Context::configurations() { context.mine_blocks(1); context.mine_blocks(1); let witness = envelope(&[b"ord", &[1], b"text/plain;charset=utf-8", &[], b"bar"]); let cursed_txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, witness.clone()OP_DATA_32(32) ), (2, 0, 0, witness.clone())],OP_ENDIF(104)
2 Outputs
- e59ceb8d8b0508f92d7cf855cd00ebf0a461a82e5200d2bcb8c25df2663e69ea:0
- e59ceb8d8b0508f92d7cf855cd00ebf0a461a82e5200d2bcb8c25df2663e69ea:1
value 546
address bc1qzcpj0qm5rz4tr9c9zlunshcxyyzcyugnkdpv4c
value 2082
address bc1qx8vjtzy0sf7u2r9m57spd7ukgcltcuzkd9kcqe