Skip to content

Commit

Permalink
Generate golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLopezDeLara committed Feb 1, 2025
1 parent 160a4ce commit e448b6c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 24 deletions.
14 changes: 8 additions & 6 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit e448b6c

Please sign in to comment.