Chain::Signet,
BTreeSet::new(),
utxos.into_iter().collect(),
[commit_address, change(2)],
)
.unwrap_err()
.to_string();
assert!(
error.contains(&format!("reveal transaction weight greater than {MAX_STANDARD_TX_WEIGHT} (MAX_STANDARD_TX_WEIGHT): 402841")),
"{}",
error
);
}
#[test]
fn batch_inscribe_into_separate_outputs() {
let utxos = vec![
(outpoint(1), Amount::from_sat(10_000)),
(outpoint(2), Amount::from_sat(80_000)),
];
let wallet_inscriptions = BTreeMap::new();
let commit_address = change(1);
let reveal_addresses = vec![recipient(), recipient(), recipient()];
let inscriptions = vec![
inscription("text/plain", [b'O'; 100]),
inscription("text/plain", [b'O'; 111]),
inscription("text/plain", [b'O'; 222]),
];
let mode = Mode::SeparateOutputs;
let fee_rate = 4.0.try_into().unwrap();
let (_commit_tx, reveal_tx, _private_key, _) = Batch {
satpoint: None,
parent_info: None,