From 72e643fdc8d2b7156b734c0af35171b125f365a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Fri, 28 Jun 2024 16:26:19 +0200 Subject: [PATCH] Adapt golden files --- .../help/conway_governance_action_create-constitution.cli | 2 +- ..._governance_action_create-protocol-parameters-update.cli | 2 +- .../conway_governance_action_create-treasury-withdrawal.cli | 2 +- .../help/conway_governance_action_update-committee.cli | 6 ++---- ...ce_committee_create-cold-key-resignation-certificate.cli | 4 ++-- ...e_committee_create-hot-key-authorization-certificate.cli | 4 ++-- .../conway_governance_drep_registration-certificate.cli | 2 +- .../help/conway_governance_drep_retirement-certificate.cli | 2 +- .../files/golden/help/conway_governance_vote_create.cli | 6 ++---- .../files/golden/help/conway_query_committee-state.cli | 6 ++---- .../golden/help/conway_query_drep-stake-distribution.cli | 2 +- .../files/golden/help/conway_query_drep-state.cli | 2 +- ..._stake-address_stake-and-vote-delegation-certificate.cli | 2 +- .../conway_stake-address_vote-delegation-certificate.cli | 2 +- 14 files changed, 19 insertions(+), 25 deletions(-) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli index ef1d1678ce..feb02509ee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli @@ -48,6 +48,6 @@ Available options: ..."). --constitution-script-hash HASH Constitution script hash (hex-encoded). Obtain it - with "cardano-cli conway governance hash script ...". + with "cardano-cli hash script ...". --out-file FILE Output filepath of the constitution. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli index fc60182e65..ee1d21d878 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli @@ -86,7 +86,7 @@ Available options: Action index of the previous governance action. --constitution-script-hash HASH Constitution script hash (hex-encoded). Obtain it - with "cardano-cli conway governance hash script ...". + with "cardano-cli hash script ...". --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli index a6f4da465a..41a8c20fdc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli @@ -49,6 +49,6 @@ Available options: --transfer LOVELACE The amount to transfer. --constitution-script-hash HASH Constitution script hash (hex-encoded). Obtain it - with "cardano-cli conway governance hash script ...". + with "cardano-cli hash script ...". --out-file FILE Output filepath of the treasury withdrawal. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli index 6d3cf63196..5754de8d53 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli @@ -56,8 +56,7 @@ Available options: Constitutional Committee key hash (hex-encoded). --remove-cc-cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --add-cc-cold-verification-key STRING Constitutional Committee cold key (hex-encoded). --add-cc-cold-verification-key-file FILE @@ -66,8 +65,7 @@ Available options: Constitutional Committee key hash (hex-encoded). --add-cc-cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --epoch NATURAL Committee member expiry epoch --threshold RATIONAL Threshold of YES votes that are necessary for approving a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli index 931ed0ef76..acdf94cfe4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -19,8 +19,8 @@ Available options: --cold-verification-key-hash STRING Constitutional Committee key hash (hex-encoded). --cold-script-hash HASH Committee cold Native or Plutus script file hash - (hex-encoded). Obtain it with "cardano-cli conway - governance hash script ...". + (hex-encoded). Obtain it with "cardano-cli hash + script ...". --cold-script-file FILE Cold Native or Plutus script file --resignation-metadata-url TEXT Constitutional Committee cold key resignation diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli index 023e2c279b..aa7b5610a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli @@ -22,8 +22,8 @@ Available options: --cold-verification-key-hash STRING Constitutional Committee key hash (hex-encoded). --cold-script-hash HASH Committee cold Native or Plutus script file hash - (hex-encoded). Obtain it with "cardano-cli conway - governance hash script ...". + (hex-encoded). Obtain it with "cardano-cli hash + script ...". --cold-script-file FILE Cold Native or Plutus script file --hot-key STRING Constitutional Committee hot key (hex-encoded). --hot-key-file FILE Filepath of the Consitutional Committee hot key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli index e01467f4de..b7e708ed3d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli @@ -13,7 +13,7 @@ Usage: cardano-cli conway governance drep registration-certificate Available options: --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli index 9b992f645b..f199d21e8a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli @@ -11,7 +11,7 @@ Usage: cardano-cli conway governance drep retirement-certificate Available options: --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli index 9c68379fb4..4cad3f372d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli @@ -31,8 +31,7 @@ Available options: --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or hex-encoded). --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILE @@ -47,8 +46,7 @@ Available options: --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). --cc-hot-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --anchor-url TEXT Vote anchor URL --anchor-data-hash HASH Hash of the vote anchor data (obtain it with "cardano-cli conway governance hash anchor-data diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli index 37fa4ef8a2..e47138a4e5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli @@ -46,14 +46,12 @@ Available options: --cold-verification-key-hash STRING Constitutional Committee key hash (hex-encoded). --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --hot-key STRING Constitutional Committee hot key (hex-encoded). --hot-key-file FILE Filepath of the Consitutional Committee hot key. --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli conway governance hash - script ...". + Obtain it with "cardano-cli hash script ...". --active Active committee members (members whose vote will count during ratification) --expired Expired committee members diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli index 8283bf2839..591698e5f3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli @@ -36,7 +36,7 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --all-dreps Query for all DReps. --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli index 4c987759b8..a6fdd99829 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli @@ -34,7 +34,7 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --all-dreps Query for all DReps. --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli index 24da4d2f5b..f529cbb9ca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli @@ -37,7 +37,7 @@ Available options: Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli index 0fdd8577be..8adb881d90 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli @@ -26,7 +26,7 @@ Available options: --stake-script-file FILE Filepath of the staking script. --stake-address ADDRESS Target stake address (bech32 format). --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli conway governance hash script ...". + "cardano-cli hash script ...". --drep-verification-key STRING DRep verification key (Bech32 or hex-encoded). --drep-verification-key-file FILE