id: id.into(), amount: 0, output: 1, }], ..Default::default() } .encipher(), ), ..Default::default() }); context.mine_blocks(1); context.assert_runes( [( id, RuneEntry { etching: txid0, rune: Rune(RUNE), supply: u128::max_value(), timestamp: 2, ..Default::default() }, )], [( OutPoint { txid: txid1, vout: 1, }, vec![(id, u128::max_value())], )], ); } #[test] fn max_limit() { MAX_LIMIT .checked_mul(u128::from(u16::max_value()) * 144 * 365 * 1_000_000_000) .unwrap(); } #[test] fn etching_with_limit_can_be_minted() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); let txid0 = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())],
Inscription number 44,981,442
Genesis block 819,057
File type text
File size 1.02 KB
Creation date Nov 30,2023 1:16 am