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 }, 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()