let reveal_address = recipient(); let (_commit_tx, reveal_tx, _private_key, _) = Batch { satpoint, parent_info: None, 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: true, 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(); assert!(reveal_tx.size() >= MAX_STANDARD_TX_WEIGHT as usize); } #[test] fn cbor_and_json_metadata_flags_conflict() { assert_regex_match!( Arguments::try_parse_from([ "ord", "wallet", "inscribe", "--cbor-metadata", "foo", "--json-metadata", "bar", "--file",#44,993,955textmsgstr "" #: src/guides/testing.md:13 msgid "`--signet` or `-s`" msgstr "" #: src/guides/testing.md:14 msgid "Regtest" msgstr "" #: src/guides/testing.md:14 msgid "`--regtest` or `-r`" msgstr "" #: src/guides/testing.md:16 msgid "Regtest doesn't require downloading the blockchain or indexing ord." msgstr "" "Regtestはブロックチェーンをダウンロードしたり、ordインデックスを作成したりす" "る必要はありません" #: src/guides/testing.md:21 msgid "Run bitcoind in regtest with:" msgstr "regtestの中でbitcoindを運行し、使います:" #: src/guides/testing.md:22 msgid "" "```\n" "bitcoind -regtest -txindex\n" "```" msgstr "" #: src/guides/testing.md:25 msgid "Create a wallet in regtest with:" msgstr "regtestの中でウォレットを作り上げます。" #: src/guides/testing.md:26 msgid "" "```\n" "ord -r wallet create\n" "```" msgstr "" #: src/guides/testing.md:29 msgid "Get a regtest receive address with:" msgstr "regtest受け取りアドレスを作成します" #: src/guides/testing.md:30 msgid "" "```\n" "ord -r wallet receive\n" "```" msgstr "" #: src/guides/testing.md:33 msgid "Mine 101 blocks (to unlock the coinbase) with:" #44,993,178text