From 29b0c8262ff053b5353c4ec454c25b6a387784b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Mon, 1 Jul 2024 17:07:50 +0200 Subject: [PATCH] Adapt golden files --- .../cardano-cli-golden/files/golden/help.cli | 36 +++++++++++++++++++ .../allegra_transaction_calculate-min-fee.cli | 9 +++++ .../alonzo_transaction_calculate-min-fee.cli | 9 +++++ .../babbage_transaction_calculate-min-fee.cli | 9 +++++ .../conway_transaction_calculate-min-fee.cli | 9 +++++ .../latest_transaction_calculate-min-fee.cli | 9 +++++ .../legacy_transaction_calculate-min-fee.cli | 9 +++++ .../mary_transaction_calculate-min-fee.cli | 9 +++++ .../shelley_transaction_calculate-min-fee.cli | 9 +++++ .../help/transaction_calculate-min-fee.cli | 9 +++++ 10 files changed, 117 insertions(+) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index d0e084e3d2..8415cfde72 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -1145,6 +1145,10 @@ Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -2340,6 +2344,10 @@ Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -3652,6 +3660,10 @@ Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -4981,6 +4993,10 @@ Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -6335,6 +6351,10 @@ Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -8164,6 +8184,10 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -9515,6 +9539,10 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -10556,6 +10584,10 @@ Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -11778,6 +11810,10 @@ Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli index 615636571f..1996a60ded 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli index 35ac238cdc..efbcfaf25f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli index c3097766e5..4ff3e1d286 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli index 9e5c3ac1df..417d5f39ac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli index 2c750d7392..f21dbc017d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli index 7d2f02d4c8..76059d99e1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli index e57d3ce31a..3995d46aa4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli index 9dd614eca9..a554d6b331 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli index 797a4bc407..1c03a137b0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli @@ -3,6 +3,10 @@ Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILE] [ --mainnet | --testnet-magic NATURAL ] @@ -21,6 +25,11 @@ Available options: --reference-script-size NATURAL Total size in bytes of transaction reference scripts (default is 0). + --output-json Format calculate-min-fee query output to JSON. + Default format when writing to a file + --output-text Format calculate-min-fee query output to TEXT. + Default format when writing to stdout + --out-file FILE The output file. --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect.