diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/allegra/transaction-view.out b/cardano-cli/test/cardano-cli-golden/files/golden/allegra/transaction-view.out index a34ecca129..4900149c83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/allegra/transaction-view.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/allegra/transaction-view.out @@ -1,6 +1,7 @@ auxiliary scripts: null certificates: null collateral inputs: null +currentTreasuryValue: null era: Allegra fee: 100 Lovelace governance actions: null @@ -23,6 +24,7 @@ reference inputs: null required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: null diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/signed-transaction-view.out b/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/signed-transaction-view.out index 5e8abeefb3..614067c2fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/signed-transaction-view.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/signed-transaction-view.out @@ -2,6 +2,7 @@ auxiliary scripts: null certificates: null collateral inputs: - c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256 +currentTreasuryValue: null era: Alonzo fee: 213 Lovelace governance actions: null @@ -17,6 +18,7 @@ required signers (payment key hashes needed for scripts): - fafaaac8681b5050a8987f95bce4a7f99362f189879258fdbf733fa4 return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: null diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out b/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out index 823d6b6c30..791d2e2620 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/alonzo/transaction-view.out @@ -2,6 +2,7 @@ auxiliary scripts: null certificates: null collateral inputs: - c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256 +currentTreasuryValue: null era: Alonzo fee: 213 Lovelace governance actions: null @@ -17,6 +18,7 @@ required signers (payment key hashes needed for scripts): - fafaaac8681b5050a8987f95bce4a7f99362f189879258fdbf733fa4 return collateral: null total collateral: null +treasuryDonation: null update proposal: epoch: 190 updates: diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-detailedschema.out b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-detailedschema.out index 77fd27a748..c4fd3c6de1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-detailedschema.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-detailedschema.out @@ -1,6 +1,7 @@ auxiliary scripts: null certificates: null collateral inputs: [] +currentTreasuryValue: null era: Babbage fee: 21300 Lovelace governance actions: null @@ -35,6 +36,7 @@ reference inputs: [] required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: null diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-noschema.out b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-noschema.out index 05a923b80d..635d91e21c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-noschema.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-metadata-noschema.out @@ -1,6 +1,7 @@ auxiliary scripts: null certificates: null collateral inputs: [] +currentTreasuryValue: null era: Babbage fee: 21300 Lovelace governance actions: null @@ -68,6 +69,7 @@ reference inputs: [] required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: null diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-redeemer.out b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-redeemer.out index 8ee97e0a05..b110d6f9d7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-redeemer.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/babbage/transaction-view-redeemer.out @@ -2,6 +2,7 @@ auxiliary scripts: null certificates: null collateral inputs: - c9765d7d0e3955be8920e6d7a38e1f3f2032eac48c7c59b0b9193caa87727e7e#256 +currentTreasuryValue: null era: Babbage fee: 213 Lovelace governance actions: null @@ -20,6 +21,7 @@ reference inputs: [] required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: null diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-proposal.out.json b/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-proposal.out.json index 5016ebdd01..525dcdcf21 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-proposal.out.json +++ b/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-proposal.out.json @@ -2,6 +2,7 @@ "auxiliary scripts": null, "certificates": null, "collateral inputs": [], + "currentTreasuryValue": null, "era": "Conway", "fee": "181517 Lovelace", "governance actions": [ @@ -54,6 +55,7 @@ "required signers (payment key hashes needed for scripts)": null, "return collateral": null, "total collateral": null, + "treasuryDonation": 0, "update proposal": null, "validity range": { "lower bound": null, diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-three-votes-view.out.json b/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-three-votes-view.out.json index 53d642e191..8b577fc66a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-three-votes-view.out.json +++ b/cardano-cli/test/cardano-cli-golden/files/golden/conway/tx-three-votes-view.out.json @@ -2,6 +2,7 @@ "auxiliary scripts": null, "certificates": null, "collateral inputs": [], + "currentTreasuryValue": null, "era": "Conway", "fee": "185433 Lovelace", "governance actions": [], @@ -30,6 +31,7 @@ "required signers (payment key hashes needed for scripts)": null, "return collateral": null, "total collateral": null, + "treasuryDonation": 0, "update proposal": null, "validity range": { "lower bound": null, 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 1ed44f99c8..623b48039b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -7834,6 +7834,8 @@ Usage: cardano-cli conway transaction build-raw | --proposal-redeemer-value JSON_VALUE ) --proposal-execution-units (INT, INT)]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] --out-file FILE Build a transaction (low-level, inconvenient) @@ -7967,6 +7969,8 @@ Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) @@ -8116,6 +8120,8 @@ Usage: cardano-cli conway transaction build-estimate | --proposal-redeemer-value JSON_VALUE ) --proposal-execution-units (INT, INT)]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] --out-file FILE Build a balanced transaction without access to a live node (automatically estimates fees) @@ -10505,6 +10511,8 @@ Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) @@ -11736,6 +11744,8 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli index 680b6a69a0..fe2924277f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli @@ -139,6 +139,8 @@ Usage: cardano-cli conway transaction build-estimate | --proposal-redeemer-value JSON_VALUE ) --proposal-execution-units (INT, INT)]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] --out-file FILE Build a balanced transaction without access to a live node (automatically estimates fees) @@ -450,5 +452,9 @@ Available options: top-level strings and numbers. --proposal-execution-units (INT, INT) The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILE Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli index 5eb678a0b8..7c7144ee26 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli @@ -135,6 +135,8 @@ Usage: cardano-cli conway transaction build-raw | --proposal-redeemer-value JSON_VALUE ) --proposal-execution-units (INT, INT)]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] --out-file FILE Build a transaction (low-level, inconvenient) @@ -435,5 +437,9 @@ Available options: top-level strings and numbers. --proposal-execution-units (INT, INT) The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILE Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli index 9a548915fa..b4cd120214 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli @@ -125,6 +125,8 @@ Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) @@ -420,6 +422,10 @@ Available options: The script redeemer value. There is no schema: (almost) any JSON value is supported, including top-level strings and numbers. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILE Output filepath of the JSON TxBody. --calculate-plutus-script-cost FILE (File () Out) filepath of the script cost diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli index 4befd6d610..4ddf0d5653 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli @@ -132,6 +132,8 @@ Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) @@ -434,6 +436,10 @@ Available options: The script redeemer value. There is no schema: (almost) any JSON value is supported, including top-level strings and numbers. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILE Output filepath of the JSON TxBody. --calculate-plutus-script-cost FILE (File () Out) filepath of the script cost diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli index ba789c87cb..d531ff08c8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli @@ -127,6 +127,8 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH | --proposal-redeemer-file JSON_FILE | --proposal-redeemer-value JSON_VALUE ]]] + [--current-treasury-value LOVELACE] + [--treasury-donation LOVELACE] ( --out-file FILE | --calculate-plutus-script-cost FILE ) @@ -429,6 +431,10 @@ Available options: The script redeemer value. There is no schema: (almost) any JSON value is supported, including top-level strings and numbers. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILE Output filepath of the JSON TxBody. --calculate-plutus-script-cost FILE (File () Out) filepath of the script cost diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/mary/transaction-view.out b/cardano-cli/test/cardano-cli-golden/files/golden/mary/transaction-view.out index d7acb2c4e4..0a35a5275e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/mary/transaction-view.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/mary/transaction-view.out @@ -1,6 +1,7 @@ auxiliary scripts: null certificates: null collateral inputs: null +currentTreasuryValue: null era: Mary fee: 139 Lovelace governance actions: null @@ -39,6 +40,7 @@ reference inputs: null required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: null validity range: lower bound: 140 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/shelley/transaction-view.out b/cardano-cli/test/cardano-cli-golden/files/golden/shelley/transaction-view.out index 718caba69f..8d983b2797 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/shelley/transaction-view.out +++ b/cardano-cli/test/cardano-cli-golden/files/golden/shelley/transaction-view.out @@ -31,6 +31,7 @@ certificates: network: Mainnet vrf: 8d445260282cef45e4c6a862b8a924aeed1b316ccba779dd39f9517220e96407 collateral inputs: null +currentTreasuryValue: null era: Shelley fee: 32 Lovelace governance actions: null @@ -52,6 +53,7 @@ reference inputs: null required signers (payment key hashes needed for scripts): null return collateral: null total collateral: null +treasuryDonation: null update proposal: epoch: 64 updates: