From e448b6cc26f17078e3cdd9281df0c12b6cdbc0a8 Mon Sep 17 00:00:00 2001 From: Carlos LopezDeLara <64222734+CarlosLopezDeLara@users.noreply.github.com> Date: Fri, 31 Jan 2025 20:20:51 -0600 Subject: [PATCH] Generate golden files --- .../test/cardano-cli-golden/files/golden/help.cli | 14 ++++++++------ .../files/golden/help/conway_query.cli | 4 ++-- .../golden/help/conway_query_future-pparams.cli | 15 ++++++++------- .../files/golden/help/latest_query.cli | 4 ++-- .../golden/help/latest_query_future-pparams.cli | 15 ++++++++------- 5 files changed, 28 insertions(+), 24 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 ba922cd4ac..710bc006fb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -7712,20 +7712,21 @@ Usage: cardano-cli conway query gov-state [--cardano-mode [--epoch-slots SLOTS]] Get the governance state -Usage: cardano-cli conway query future-pparams --socket-path SOCKET_PATH +Usage: cardano-cli conway query future-pparams [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) + --socket-path SOCKET_PATH [ --volatile-tip | --immutable-tip ] [--out-file FILEPATH] - Get the protocol parameters that apply at the next epoch + Get the protocol parameters that will apply at the next epoch -Usage: cardano-cli conway query drep-state --socket-path SOCKET_PATH +Usage: cardano-cli conway query drep-state [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -9781,20 +9782,21 @@ Usage: cardano-cli latest query gov-state [--cardano-mode [--epoch-slots SLOTS]] Get the governance state -Usage: cardano-cli latest query future-pparams --socket-path SOCKET_PATH +Usage: cardano-cli latest query future-pparams [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) + --socket-path SOCKET_PATH [ --volatile-tip | --immutable-tip ] [--out-file FILEPATH] - Get the protocol parameters that apply at the next epoch + Get the protocol parameters that will apply at the next epoch -Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH +Usage: cardano-cli latest query drep-state [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet 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 0721bb9918..12efbbfba2 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 @@ -65,8 +65,8 @@ Available commands: for provided transaction inputs. constitution Get the constitution gov-state Get the governance state - future-pparams Get the protocol parameters that apply at the next - epoch + future-pparams Get the protocol parameters that will apply at the + next epoch drep-state Get the DRep state. drep-stake-distribution Get the DRep stake distribution. spo-stake-distribution Get the SPO stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli index a51e6fafc5..69eb5b9d41 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli @@ -1,22 +1,18 @@ -Usage: cardano-cli conway query future-pparams --socket-path SOCKET_PATH +Usage: cardano-cli conway query future-pparams [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) + --socket-path SOCKET_PATH [ --volatile-tip | --immutable-tip ] [--out-file FILEPATH] - Get the protocol parameters that apply at the next epoch + Get the protocol parameters that will apply at the next epoch 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. @@ -25,6 +21,11 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --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. --volatile-tip Use the volatile tip as a target. (This is the default) --immutable-tip Use the immutable tip as a target. 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 e37eaa4560..8e818d7691 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 @@ -65,8 +65,8 @@ Available commands: for provided transaction inputs. constitution Get the constitution gov-state Get the governance state - future-pparams Get the protocol parameters that apply at the next - epoch + future-pparams Get the protocol parameters that will apply at the + next epoch drep-state Get the DRep state. drep-stake-distribution Get the DRep stake distribution. spo-stake-distribution Get the SPO stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli index 267483c375..183302326b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli @@ -1,22 +1,18 @@ -Usage: cardano-cli latest query future-pparams --socket-path SOCKET_PATH +Usage: cardano-cli latest query future-pparams [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) + --socket-path SOCKET_PATH [ --volatile-tip | --immutable-tip ] [--out-file FILEPATH] - Get the protocol parameters that apply at the next epoch + Get the protocol parameters that will apply at the next epoch 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. @@ -25,6 +21,11 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --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. --volatile-tip Use the volatile tip as a target. (This is the default) --immutable-tip Use the immutable tip as a target.