inscriptions: vec![inscription], destinations: vec![reveal_address], commit_fee_rate: FeeRate::try_from(1.0).unwrap(), reveal_fee_rate: FeeRate::try_from(1.0).unwrap(), no_limit: false, reinscribe: false, postage: TransactionBuilder::TARGET_POSTAGE, mode: Mode::SharedOutput, ..Default::default() } .create_batch_inscription_transactions( BTreeMap::new(), Chain::Mainnet, BTreeSet::new(), utxos.into_iter().collect(), [commit_address, change(1)], ) .unwrap_err() .to_string(); assert!( error.contains(&format!("reveal transaction weight greater than {MAX_STANDARD_TX_WEIGHT} (MAX_STANDARD_TX_WEIGHT): 402799")), "{}", error ); } #[test] fn inscribe_with_no_max_standard_tx_weight() { let utxos = vec![(outpoint(1), Amount::from_sat(50 * COIN_VALUE))]; let inscription = inscription("text/plain", [0; MAX_STANDARD_TX_WEIGHT as usize]); let satpoint = None; let commit_address = change(0);