From 2050f743065309679fff86b27913b90f2d46225f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Thu, 28 Nov 2024 17:54:20 +0100 Subject: [PATCH] Adapt golden files --- .../cardano-cli-golden/files/golden/help.cli | 32 +++++++++++++++ .../files/golden/help/conway_query.cli | 2 + .../golden/help/conway_query_proposals.cli | 39 +++++++++++++++++++ .../files/golden/help/latest_query.cli | 2 + .../golden/help/latest_query_proposals.cli | 39 +++++++++++++++++++ 5 files changed, 114 insertions(+) create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli 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 0c477abe61..fb231cdc85 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -7343,6 +7343,7 @@ Usage: cardano-cli conway query | spo-stake-distribution | committee-state | treasury + | proposals ) Node query commands. Will query the local node whose Unix domain socket is @@ -7708,6 +7709,21 @@ Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH Get the treasury value +Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance proposals. + Usage: cardano-cli conway stake-address ( key-gen | key-hash @@ -9343,6 +9359,7 @@ Usage: cardano-cli latest query | spo-stake-distribution | committee-state | treasury + | proposals ) Node query commands. Will query the local node whose Unix domain socket is @@ -9708,6 +9725,21 @@ Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH Get the treasury value +Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance proposals. + Usage: cardano-cli latest stake-address ( key-gen | key-hash diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli index 4f2507652b..67fb235016 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli @@ -21,6 +21,7 @@ Usage: cardano-cli conway query | spo-stake-distribution | committee-state | treasury + | proposals ) Node query commands. Will query the local node whose Unix domain socket is @@ -64,3 +65,4 @@ Available commands: spo-stake-distribution Get the SPO stake distribution. committee-state Get the committee state treasury Get the treasury value + proposals Get the governance proposals. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli new file mode 100644 index 0000000000..613e7deb16 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli conway query proposals --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance proposals. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-proposals Query for all governance proposals. + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 29935af77a..24254c1fb8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli @@ -21,6 +21,7 @@ Usage: cardano-cli latest query | spo-stake-distribution | committee-state | treasury + | proposals ) Node query commands. Will query the local node whose Unix domain socket is @@ -64,3 +65,4 @@ Available commands: spo-stake-distribution Get the SPO stake distribution. committee-state Get the committee state treasury Get the treasury value + proposals Get the governance proposals. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli new file mode 100644 index 0000000000..0927d212bc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli latest query proposals --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance proposals. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-proposals Query for all governance proposals. + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text