), ( OutPoint { txid, vout: 2 }, vec![(id, u128::max_value() / 4)], ), ( OutPoint { txid, vout: 3 }, vec![(id, u128::max_value() / 4)], ), ], ); } #[test] fn split_with_amount_in_etching() { let context = Context::builder() .arg("--index-runes-pre-alpha-i-agree-to-get-rekt") .build(); context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, Witness::new())], outputs: 4, op_return: Some( Runestone { edicts: vec![Edict { id: 0, amount: 1000, output: 5, }], etching: Some(Etching { rune: Rune(RUNE), ..Default::default() }), ..Default::default() } .encipher(), ), ..Default::default() }); context.mine_blocks(1); let id = RuneId { height: 2, index: 1, };