Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 29, 2024
1 parent 570573b commit 4a6f48c
Show file tree
Hide file tree
Showing 112 changed files with 511 additions and 511 deletions.
290 changes: 145 additions & 145 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
--op-cert-file FILEPATH
[--out-file FILEPATH]
--op-cert-file FILEPATH

Get information about the current KES period and your node's operational
certificate.
Expand All @@ -24,6 +24,6 @@ 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
--out-file FILEPATH The output file.
--op-cert-file FILEPATH Filepath of the node's operational certificate.
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Usage: cardano-cli allegra query leadership-schedule --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
--genesis FILEPATH
( --stake-pool-verification-key STRING
| --cold-verification-key-file FILEPATH
Expand All @@ -14,7 +15,6 @@ Usage: cardano-cli allegra query leadership-schedule --socket-path SOCKET_PATH
[ --output-json
| --output-text
]
[--out-file FILEPATH]

Get the slots the node is expected to mint a block in (advanced command)

Expand All @@ -32,6 +32,7 @@ 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
--out-file FILEPATH The output file.
--genesis FILEPATH Shelley genesis filepath
--stake-pool-verification-key STRING
Stake pool verification key (Bech32 or hex-encoded).
Expand All @@ -48,5 +49,4 @@ Available options:
Default format when writing to a file
--output-text Format leadership-schedule query output to TEXT.
Default format when writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ 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
--out-file FILEPATH Optional output file. Default is to write to stdout.
--out-file FILEPATH The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Usage: cardano-cli allegra query pool-params --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
( --all-stake-pools
| (--stake-pool-id STAKE_POOL_ID)
)
[--out-file FILEPATH]

DEPRECATED. Use query pool-state instead. Dump the pool parameters
(Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced
Expand All @@ -27,9 +27,9 @@ 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
--out-file FILEPATH The output file.
--all-stake-pools Query for all stake pools
--stake-pool-id STAKE_POOL_ID
Stake pool ID/verification key hash (either
Bech32-encoded or hex-encoded).
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Usage: cardano-cli allegra query pool-state --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
( --all-stake-pools
| (--stake-pool-id STAKE_POOL_ID)
)
[--out-file FILEPATH]

Dump the pool state

Expand All @@ -25,9 +25,9 @@ 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
--out-file FILEPATH The output file.
--all-stake-pools Query for all stake pools
--stake-pool-id STAKE_POOL_ID
Stake pool ID/verification key hash (either
Bech32-encoded or hex-encoded).
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ 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
--out-file FILEPATH Optional output file. Default is to write to stdout.
--out-file FILEPATH The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
(--tx-in TX-IN)
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
(--tx-in TX-IN)
[ --output-json
| --output-text
]
[--out-file FILEPATH]

Calculate the reference input scripts size in bytes for provided transaction
inputs.
Expand All @@ -23,14 +23,14 @@ Available options:
(default).
--epoch-slots SLOTS The number of slots per epoch for the Byron era.
(default: 21600)
--tx-in TX-IN Transaction input (TxId#TxIx).
--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
--out-file FILEPATH The output file.
--tx-in TX-IN Transaction input (TxId#TxIx).
--output-json Format reference inputs query output to JSON. Default
format when writing to a file
--output-text Format reference inputs query output to TEXT. Default
format when writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Usage: cardano-cli allegra query stake-address-info --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
--address ADDRESS
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
--address ADDRESS

Get the current delegations and reward accounts filtered by stake address.

Expand All @@ -19,10 +19,10 @@ Available options:
(default).
--epoch-slots SLOTS The number of slots per epoch for the Byron era.
(default: 21600)
--address ADDRESS Filter by Cardano stake address (Bech32-encoded).
--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
--out-file FILEPATH Optional output file. Default is to write to stdout.
--out-file FILEPATH The output file.
--address ADDRESS Filter by Cardano stake address (Bech32-encoded).
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Usage: cardano-cli allegra query stake-distribution --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
[ --output-json
| --output-text
]
[--out-file FILEPATH]

Get the node's current aggregated stake distribution

Expand All @@ -25,9 +25,9 @@ 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
--out-file FILEPATH The output file.
--output-json Format stake-distribution query output to JSON.
Default format when writing to a file
--output-text Format stake-distribution query output to TEXT.
Default format when writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Usage: cardano-cli allegra query stake-pools --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--output-json | --output-text]
[--out-file FILEPATH]
[--output-json | --output-text]

Get the node's current set of stake pool ids

Expand All @@ -23,9 +23,9 @@ 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
--out-file FILEPATH The output file.
--output-json Format stake-pools query output to JSON. Default
format when writing to a file
--output-text Format stake-pools query output to TEXT. Default
format when writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Usage: cardano-cli allegra query stake-snapshot --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
( --all-stake-pools
| (--stake-pool-id STAKE_POOL_ID)
)
[--out-file FILEPATH]

Obtain the three stake snapshots for a pool, plus the total active stake
(advanced command)
Expand All @@ -26,9 +26,9 @@ 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
--out-file FILEPATH The output file.
--all-stake-pools Query for all stake pools
--stake-pool-id STAKE_POOL_ID
Stake pool ID/verification key hash (either
Bech32-encoded or hex-encoded).
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ 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
--out-file FILEPATH Optional output file. Default is to write to stdout.
--out-file FILEPATH The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Usage: cardano-cli allegra query utxo --socket-path SOCKET_PATH
[--cardano-mode [--epoch-slots SLOTS]]
(--mainnet | --testnet-magic NATURAL)
[--out-file FILEPATH]
( --whole-utxo
| (--address ADDRESS)
| (--tx-in TX-IN)
)
(--mainnet | --testnet-magic NATURAL)
[--output-json | --output-text]
[--out-file FILEPATH]

Get a portion of the current UTxO: by tx in, by address or the whole.

Expand All @@ -20,17 +20,17 @@ Available options:
(default).
--epoch-slots SLOTS The number of slots per epoch for the Byron era.
(default: 21600)
--whole-utxo Return the whole UTxO (only appropriate on small
testnets).
--address ADDRESS Filter by Cardano address(es) (Bech32-encoded).
--tx-in TX-IN Filter by transaction input (TxId#TxIx).
--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
--out-file FILEPATH The output file.
--whole-utxo Return the whole UTxO (only appropriate on small
testnets).
--address ADDRESS Filter by Cardano address(es) (Bech32-encoded).
--tx-in TX-IN Filter by transaction input (TxId#TxIx).
--output-json Format utxo query output to JSON. Default format when
writing to a file
--output-text Format utxo query output to TEXT. Default format when
writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Usage: cardano-cli alonzo query kes-period-info --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
--op-cert-file FILEPATH
[--out-file FILEPATH]
--op-cert-file FILEPATH

Get information about the current KES period and your node's operational
certificate.
Expand All @@ -24,6 +24,6 @@ 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
--out-file FILEPATH The output file.
--op-cert-file FILEPATH Filepath of the node's operational certificate.
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Usage: cardano-cli alonzo query leadership-schedule --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILEPATH]
--genesis FILEPATH
( --stake-pool-verification-key STRING
| --cold-verification-key-file FILEPATH
Expand All @@ -14,7 +15,6 @@ Usage: cardano-cli alonzo query leadership-schedule --socket-path SOCKET_PATH
[ --output-json
| --output-text
]
[--out-file FILEPATH]

Get the slots the node is expected to mint a block in (advanced command)

Expand All @@ -32,6 +32,7 @@ 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
--out-file FILEPATH The output file.
--genesis FILEPATH Shelley genesis filepath
--stake-pool-verification-key STRING
Stake pool verification key (Bech32 or hex-encoded).
Expand All @@ -48,5 +49,4 @@ Available options:
Default format when writing to a file
--output-text Format leadership-schedule query output to TEXT.
Default format when writing to stdout
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Loading

0 comments on commit 4a6f48c

Please sign in to comment.