},
),
],
[(
OutPoint {
txid: txid2,
vout: 0,
},
vec![(id0, u128::max_value()), (id1, u128::max_value())],
)],
);
let txid3 = context.rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(4, 1, 0, Witness::new())],
outputs: 2,
op_return: Some(
Runestone {
edicts: vec![
Edict {
id: id0.into(),
amount: u128::max_value() / 2,
output: 1,
},
Edict {
id: id1.into(),
amount: u128::max_value() / 2,
output: 1,
},
],
..Default::default()
}
.encipher(),
),
..Default::default()
});
context.mine_blocks(1);
context.assert_runes(
[
(
id0,
RuneEntry {
etching: txid0,
rune: Rune(RUNE),
supply: u128::max_value(),
timestamp: 2,
..Default::default()