From 0b5cc9a4854258ab5e55ecab11f10f82d0f1c29c Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Wed, 16 Oct 2024 16:05:19 -0400 Subject: [PATCH] Squash me: Updated golden files --- .../cardano-cli-golden/files/golden/help.cli | 56 +++++++++---------- ..._governance_action_create-constitution.cli | 27 ++++----- ...nway_governance_action_create-hardfork.cli | 12 ++-- ...e_conway_governance_action_create-info.cli | 12 ++-- ...governance_action_create-no-confidence.cli | 12 ++-- ...tion_create-protocol-parameters-update.cli | 12 ++-- ...ance_action_create-treasury-withdrawal.cli | 12 ++-- ...way_governance_action_update-committee.cli | 12 ++-- ...reate-cold-key-resignation-certificate.cli | 10 +++- .../compatible_conway_governance_drep.cli | 3 +- ...e_conway_governance_drep_metadata-hash.cli | 18 ++++-- ...vernance_drep_registration-certificate.cli | 9 ++- ...way_governance_drep_update-certificate.cli | 9 ++- ...mpatible_conway_governance_vote_create.cli | 8 ++- 14 files changed, 114 insertions(+), 98 deletions(-) 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 3c4aacf461..d8f5e52f3d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -11279,14 +11279,10 @@ Usage: cardano-cli compatible conway governance action create-constitution --prev-governance-action-index WORD16] --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --constitution-url TEXT --constitution-hash HASH - ( --check-constitution-hash - | --trust-constitution-hash - ) + [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH @@ -11305,9 +11301,7 @@ Usage: cardano-cli compatible conway governance action update-committee ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [ --remove-cc-cold-verification-key STRING | --remove-cc-cold-verification-key-file FILEPATH | --remove-cc-cold-verification-key-hash STRING @@ -11340,9 +11334,7 @@ Usage: cardano-cli compatible conway governance action create-info ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --out-file FILEPATH Create an info action. @@ -11360,9 +11352,7 @@ Usage: cardano-cli compatible conway governance action create-no-confidence ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH @@ -11382,9 +11372,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] [--constitution-script-hash HASH] @@ -11449,9 +11437,7 @@ Usage: cardano-cli compatible conway governance action create-treasury-withdrawa ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] ( ( --funds-receiving-stake-verification-key STRING | --funds-receiving-stake-verification-key-file FILEPATH @@ -11480,9 +11466,7 @@ Usage: cardano-cli compatible conway governance action create-hardfork --prev-governance-action-index WORD16] --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH @@ -11550,7 +11534,8 @@ Usage: cardano-cli compatible conway governance committee create-cold-key-resign | --cold-script-file FILEPATH ) [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] + --resignation-metadata-hash HASH + [--check-resignation-metadata-hash]] --out-file FILEPATH Create cold key resignation certificate for a Constitutional Committee Member @@ -11588,7 +11573,8 @@ Usage: cardano-cli compatible conway governance drep registration-certificate ) --key-reg-deposit-amt NATURAL [--drep-metadata-url TEXT - --drep-metadata-hash HASH] + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH Create a registration certificate. @@ -11611,15 +11597,22 @@ Usage: cardano-cli compatible conway governance drep update-certificate | --drep-key-hash HASH ) [--drep-metadata-url TEXT - --drep-metadata-hash HASH] + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH Create a DRep update certificate. -Usage: cardano-cli compatible conway governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli compatible conway governance drep metadata-hash + ( --drep-metadata-file FILEPATH + | --drep-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] - Calculate the hash of a metadata file. + Calculate the hash of a metadata file, optionally checking the obtained hash + against an expected value. Usage: cardano-cli compatible conway governance vote (create | view) @@ -11645,7 +11638,8 @@ Usage: cardano-cli compatible conway governance vote create | --cc-hot-script-hash HASH ) [--anchor-url TEXT - --anchor-data-hash HASH] + --anchor-data-hash HASH + [--check-anchor-data-hash]] --out-file FILEPATH Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli index b2057011f9..24a2b41dd3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli @@ -13,14 +13,10 @@ Usage: cardano-cli compatible conway governance action create-constitution --prev-governance-action-index WORD16] --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --constitution-url TEXT --constitution-hash HASH - ( --check-constitution-hash - | --trust-constitution-hash - ) + [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH @@ -48,20 +44,19 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --constitution-url TEXT Constitution URL. --constitution-hash HASH Hash of the constitution data (obtain it with "cardano-cli hash anchor-data ..."). --check-constitution-hash - Check the constitution hash (from - --constitution-hash) by downloading constitution data - (from --constitution-url). - --trust-constitution-hash - Do not check the constitution hash (from - --constitution-hash) and trust it is correct. + Verify that the expected constitution hash provided + in --constitution-hash matches the hash of the file + downloaded from the URL provided in + --constitution-url (this parameter will download the + file from the URL) --constitution-script-hash HASH Constitution script hash (hex-encoded). Obtain it with "cardano-cli hash script ...". diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli index 869915bc6b..a233717b6c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli @@ -13,9 +13,7 @@ Usage: cardano-cli compatible conway governance action create-hardfork --prev-governance-action-index WORD16] --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH @@ -44,10 +42,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --protocol-major-version MAJOR Specify the major protocol version to fork into. An increase indicates a hard fork. It must be the next diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli index d939a2bb3a..90914cc199 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli @@ -11,9 +11,7 @@ Usage: cardano-cli compatible conway governance action create-info ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] --out-file FILEPATH Create an info action. @@ -36,10 +34,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --out-file FILEPATH Path to action file to be used later on with build or build-raw -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli index 23af03a6b5..450e4b7e97 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli @@ -11,9 +11,7 @@ Usage: cardano-cli compatible conway governance action create-no-confidence ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH @@ -38,10 +36,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --prev-governance-action-tx-id TXID Txid of the previous governance action. --prev-governance-action-index WORD16 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli index 1ddcfd691c..a1bd2ee7de 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli @@ -11,9 +11,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] [--constitution-script-hash HASH] @@ -83,10 +81,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --prev-governance-action-tx-id TXID Txid of the previous governance action. --prev-governance-action-index WORD16 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli index 5004d7ce26..0991dd7229 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli @@ -11,9 +11,7 @@ Usage: cardano-cli compatible conway governance action create-treasury-withdrawa ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] ( ( --funds-receiving-stake-verification-key STRING | --funds-receiving-stake-verification-key-file FILEPATH @@ -45,10 +43,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --funds-receiving-stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --funds-receiving-stake-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli index a76c90beda..d8953d23ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli @@ -11,9 +11,7 @@ Usage: cardano-cli compatible conway governance action update-committee ) --anchor-url TEXT --anchor-data-hash HASH - ( --check-anchor-data - | --trust-anchor-data - ) + [--check-anchor-data] [ --remove-cc-cold-verification-key STRING | --remove-cc-cold-verification-key-file FILEPATH | --remove-cc-cold-verification-key-hash STRING @@ -51,10 +49,10 @@ Available options: --anchor-url TEXT Anchor URL --anchor-data-hash HASH Proposal anchor data hash (obtain it with "cardano-cli hash anchor-data ...") - --check-anchor-data Check the proposal hash (from --anchor-data-hash) by - downloading proposal data (from --anchor-url). - --trust-anchor-data Do not check the proposal hash (from - --anchor-data-hash) and trust it is correct. + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) --remove-cc-cold-verification-key STRING Constitutional Committee cold key (hex-encoded). --remove-cc-cold-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli index 00c8b175d5..d6b6ced424 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -6,7 +6,8 @@ Usage: cardano-cli compatible conway governance committee create-cold-key-resign | --cold-script-file FILEPATH ) [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] + --resignation-metadata-hash HASH + [--check-resignation-metadata-hash]] --out-file FILEPATH Create cold key resignation certificate for a Constitutional Committee Member @@ -29,5 +30,12 @@ Available options: --resignation-metadata-hash HASH Constitutional Committee cold key resignation certificate metadata hash + --check-resignation-metadata-hash + Verify that the expected Constitutional Committee + cold key resignation certificate metadata hash + provided in --resignation-metadata-hash matches the + hash of the file downloaded from the URL provided in + --resignation-metadata-url (this parameter will + download the file from the URL) --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli index 8b5aa98733..caa9ada410 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli @@ -19,4 +19,5 @@ Available commands: registration-certificate Create a registration certificate. retirement-certificate Create a DRep retirement certificate. update-certificate Create a DRep update certificate. - metadata-hash Calculate the hash of a metadata file. + metadata-hash Calculate the hash of a metadata file, optionally + checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli index 149305364a..4cd25d62d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli @@ -1,10 +1,20 @@ -Usage: cardano-cli compatible conway governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli compatible conway governance drep metadata-hash + ( --drep-metadata-file FILEPATH + | --drep-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] - Calculate the hash of a metadata file. + Calculate the hash of a metadata file, optionally checking the obtained hash + against an expected value. Available options: --drep-metadata-file FILEPATH JSON Metadata file to hash. - --out-file FILEPATH Optional output file. Default is to write to stdout. + --drep-metadata-url TEXT URL pointing to the JSON Metadata file to hash. + --expected-hash HASH Expected hash for the DRep metadata, for verification + purposes. If provided, the hash of the DRep metadata + will be compared to this value. + --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli index 1b8e50baaf..1c1724cac8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli @@ -6,7 +6,8 @@ Usage: cardano-cli compatible conway governance drep registration-certificate ) --key-reg-deposit-amt NATURAL [--drep-metadata-url TEXT - --drep-metadata-hash HASH] + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH Create a registration certificate. @@ -25,5 +26,11 @@ Available options: --drep-metadata-url TEXT DRep anchor URL --drep-metadata-hash HASH DRep anchor data hash. + --check-drep-metadata-hash + Verify that the expected DRep metadata hash provided + in --drep-metadata-hash matches the hash of the file + downloaded from the URL provided in + --drep-metadata-url (this parameter will download the + file from the URL) --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli index 72703d4660..f72b91984f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli @@ -5,7 +5,8 @@ Usage: cardano-cli compatible conway governance drep update-certificate | --drep-key-hash HASH ) [--drep-metadata-url TEXT - --drep-metadata-hash HASH] + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH Create a DRep update certificate. @@ -22,5 +23,11 @@ Available options: --drep-metadata-url TEXT DRep anchor URL --drep-metadata-hash HASH DRep anchor data hash. + --check-drep-metadata-hash + Verify that the expected DRep metadata hash provided + in --drep-metadata-hash matches the hash of the file + downloaded from the URL provided in + --drep-metadata-url (this parameter will download the + file from the URL) --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli index ea63bec7f7..1744728251 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli @@ -18,7 +18,8 @@ Usage: cardano-cli compatible conway governance vote create | --cc-hot-script-hash HASH ) [--anchor-url TEXT - --anchor-data-hash HASH] + --anchor-data-hash HASH + [--check-anchor-data-hash]] --out-file FILEPATH Vote creation. @@ -54,5 +55,10 @@ Available options: --anchor-url TEXT Vote anchor URL --anchor-data-hash HASH Hash of the vote anchor data (obtain it with "cardano-cli hash anchor-data ..."). + --check-anchor-data-hash Verify that the expected vote anchor data hash + provided in --anchor-data-hash matches the hash of + the file downloaded from the URL provided in + --anchor-url (this parameter will download the file + from the URL) --out-file FILEPATH Output filepath of the vote. -h,--help Show this help text