edicts: vec![Edict { id: 0, amount: u128::max_value(), output: 0, }], etching: Some(Etching { rune: Rune(RUNE), ..Default::default() }), ..Default::default() } .encipher(), ), ..Default::default() }); context.mine_blocks(1); context.assert_runes([], []); } #[test] fn empty_runestone_does_not_create_rune() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())], op_return: Some(Runestone::default().encipher()), ..Default::default() }); context.mine_blocks(1); context.assert_runes([], []); } #[test] fn etching_with_no_edicts_creates_rune() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build();