Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Dec 2, 2024
1 parent 7c67382 commit 530f929
Show file tree
Hide file tree
Showing 53 changed files with 266 additions and 266 deletions.
142 changes: 71 additions & 71 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
@@ -1,10 +1,10 @@
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
)
(--tx-in TX-IN)
[ --output-json
| --output-text
]
Expand All @@ -23,11 +23,11 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Usage: cardano-cli allegra query stake-address-info --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
--address ADDRESS
( --mainnet
| --testnet-magic NATURAL
)
--address ADDRESS
[--out-file FILEPATH]

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
--address ADDRESS Filter by Cardano stake address (Bech32-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
@@ -1,10 +1,10 @@
Usage: cardano-cli allegra query utxo --socket-path SOCKET_PATH
[--cardano-mode [--epoch-slots SLOTS]]
(--mainnet | --testnet-magic NATURAL)
( --whole-utxo
| (--address ADDRESS)
| (--tx-in TX-IN)
)
(--mainnet | --testnet-magic NATURAL)
[--output-json | --output-text]
[--out-file FILEPATH]

Expand All @@ -20,14 +20,14 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Usage: cardano-cli alonzo query ref-script-size --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
(--tx-in TX-IN)
( --mainnet
| --testnet-magic NATURAL
)
(--tx-in TX-IN)
[ --output-json
| --output-text
]
Expand All @@ -23,11 +23,11 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Usage: cardano-cli alonzo query stake-address-info --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
--address ADDRESS
( --mainnet
| --testnet-magic NATURAL
)
--address ADDRESS
[--out-file FILEPATH]

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
--address ADDRESS Filter by Cardano stake address (Bech32-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
@@ -1,10 +1,10 @@
Usage: cardano-cli alonzo query utxo --socket-path SOCKET_PATH
[--cardano-mode [--epoch-slots SLOTS]]
(--mainnet | --testnet-magic NATURAL)
( --whole-utxo
| (--address ADDRESS)
| (--tx-in TX-IN)
)
(--mainnet | --testnet-magic NATURAL)
[--output-json | --output-text]
[--out-file FILEPATH]

Expand All @@ -20,14 +20,14 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Usage: cardano-cli babbage query ref-script-size --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
(--tx-in TX-IN)
( --mainnet
| --testnet-magic NATURAL
)
(--tx-in TX-IN)
[ --output-json
| --output-text
]
Expand All @@ -23,11 +23,11 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Usage: cardano-cli babbage query stake-address-info --socket-path SOCKET_PATH
[--cardano-mode
[--epoch-slots SLOTS]]
--address ADDRESS
( --mainnet
| --testnet-magic NATURAL
)
--address ADDRESS
[--out-file FILEPATH]

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
--address ADDRESS Filter by Cardano stake address (Bech32-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
@@ -1,10 +1,10 @@
Usage: cardano-cli babbage query utxo --socket-path SOCKET_PATH
[--cardano-mode [--epoch-slots SLOTS]]
(--mainnet | --testnet-magic NATURAL)
( --whole-utxo
| (--address ADDRESS)
| (--tx-in TX-IN)
)
(--mainnet | --testnet-magic NATURAL)
[--output-json | --output-text]
[--out-file FILEPATH]

Expand All @@ -20,14 +20,14 @@ 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
--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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Usage: cardano-cli conway query committee-state --socket-path SOCKET_PATH
( --mainnet
| --testnet-magic NATURAL
)
[ --volatile-tip
| --immutable-tip
]
[ --cold-verification-key STRING
| --cold-verification-key-file FILEPATH
| --cold-verification-key-hash STRING
Expand All @@ -18,9 +21,6 @@ Usage: cardano-cli conway query committee-state --socket-path SOCKET_PATH
| --expired
| --unrecognized
]
[ --volatile-tip
| --immutable-tip
]
[--out-file FILEPATH]

Get the committee state
Expand All @@ -39,6 +39,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
--volatile-tip Use the volatile tip as a target. (This is the
default)
--immutable-tip Use the immutable tip as a target.
--cold-verification-key STRING
Constitutional Committee cold key (hex-encoded).
--cold-verification-key-file FILEPATH
Expand All @@ -57,8 +60,5 @@ Available options:
--expired Expired committee members
--unrecognized Unrecognized committe members: a hot credential for
an unknown cold credential
--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.
--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 @@ -28,5 +28,5 @@ Available options:
--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.
--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 @@ -5,6 +5,9 @@ Usage: cardano-cli conway query drep-stake-distribution
( --mainnet
| --testnet-magic NATURAL
)
[ --volatile-tip
| --immutable-tip
]
( --all-dreps
|
( --drep-script-hash HASH
Expand All @@ -13,9 +16,6 @@ Usage: cardano-cli conway query drep-stake-distribution
| --drep-key-hash HASH
)
)
[ --volatile-tip
| --immutable-tip
]
[--out-file FILEPATH]

Get the DRep stake distribution.
Expand All @@ -34,6 +34,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
--volatile-tip Use the volatile tip as a target. (This is the
default)
--immutable-tip Use the immutable tip as a target.
--all-dreps Query for all DReps.
--drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with
"cardano-cli hash script ...".
Expand All @@ -43,8 +46,5 @@ Available options:
Filepath of the DRep verification key.
--drep-key-hash HASH DRep verification key hash (either Bech32-encoded or
hex-encoded).
--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.
--out-file FILEPATH Optional output file. Default is to write to stdout.
-h,--help Show this help text
Loading

0 comments on commit 530f929

Please sign in to comment.