TxIn { previous_output: parent_info.location.outpoint, sequence: Sequence::ENABLE_RBF_NO_LOCKTIME, ..Default::default() } ); } #[test] fn example_batchfile_deserializes_successfully() { Batchfile::load(Path::new("batch.yaml")).unwrap(); } #[test] fn flags_conflict_with_batch() { for (flag, value) in [ ("--file", Some("foo")), ( "--destination", Some("tb1qsgx55dp6gn53tsmyjjv4c2ye403hgxynxs0dnm"), ), ("--cbor-metadata", Some("foo")), ("--json-metadata", Some("foo")), ( "--satpoint", Some("4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0:0"), ), ("--reinscribe", None), ("--metaprotocol", Some("foo")), ( "--parent", Some("4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33bi0"), ), ] { let mut args = vec![ "ord", "wallet", "inscribe", "--fee-rate", "1", "--batch",