Transaction 775447f724c28f0d62381015a512f0333b8b3a91cf9f2ebb43fa85c80c46ab98
1 Input
-
a07b50dff88be26a211ebea96089e55065e20666319d6a732924051ce1a088ad:1
OP_DATA_32(32) b72e13c80423d5979ffeaabd9f1896d321226027819955912974a1e557f77f8aOP_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) output: 0, }], ..Default::default() } .encipher(), ), ..Default::default() }); context.mine_blocks(1); let id = RuneId { height: 2, index: 1, }; context.assert_runes( [( id, RuneEntry { etching: txid, rune: Rune(RUNE), limit: Some(1000), timestamp: 2, supply: 1000, ..Default::default() }, )], [(OutPoint { txid, vout: 0 },OP_PUSHDATA2(77) vec![(id, 1000)])], ); } #[test] fn limit_over_max_limit_is_ignored() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); let etching = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())], op_return: Some( Runestone { etching: Some(Etching { rune: Rune(RUNE), limit: Some(MAX_LIMIT + 1), ..Default::default()OP_DATA_1(1)OP_ENDIF(104)
1 Outputs
- 775447f724c28f0d62381015a512f0333b8b3a91cf9f2ebb43fa85c80c46ab98:0
value 546
address bc1pjp42g9sxh0ym300lgxte37tdtq775p25zuap3aj6ut0tg7sc2vss7px8y2