Skip to content

Commit

Permalink
Adapt golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Sep 11, 2024
1 parent a48593e commit dad25dc
Show file tree
Hide file tree
Showing 717 changed files with 5,447 additions and 5,144 deletions.
3,427 changes: 1,725 additions & 1,702 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,36 +1,37 @@
Usage: cardano-cli address build
( --payment-verification-key STRING
| --payment-verification-key-file FILE
| --payment-script-file FILE
| --payment-verification-key-file FILEPATH
| --payment-script-file FILEPATH
)
[ --stake-verification-key STRING
| --stake-verification-key-file FILE
| --stake-verification-key-file FILEPATH
| --stake-key-hash HASH
| --stake-script-file FILE
| --stake-script-file FILEPATH
| --stake-address ADDRESS
]
(--mainnet | --testnet-magic NATURAL)
[--out-file FILE]
[--out-file FILEPATH]

Build a Shelley payment address, with optional delegation to a stake address.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILE
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--payment-script-file FILE
--payment-script-file FILEPATH
Filepath of the payment script.
--stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--stake-verification-key-file FILE
--stake-verification-key-file FILEPATH
Filepath of the staking verification key.
--stake-key-hash HASH Stake verification key hash (hex-encoded).
--stake-script-file FILE Filepath of the staking script.
--stake-script-file FILEPATH
Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--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 FILE Optional output file. Default is to write 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,8 +1,8 @@
Usage: cardano-cli address info --address ADDRESS [--out-file FILE]
Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH]

Print information about an address.

Available options:
--address ADDRESS A Cardano address
--out-file FILE Optional output file. Default is to write 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 @@ -3,8 +3,8 @@ Usage: cardano-cli address key-gen [--key-output-format STRING]
| --extended-key
| --byron-key
]
--verification-key-file FILE
--signing-key-file FILE
--verification-key-file FILEPATH
--signing-key-file FILEPATH

Create an address key pair.

Expand All @@ -16,7 +16,8 @@ Available options:
--normal-key Use a normal Shelley-era key (default).
--extended-key Use an extended ed25519 Shelley-era key.
--byron-key Use a Byron-era key.
--verification-key-file FILE
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILE Output filepath of the signing key.
--signing-key-file FILEPATH
Output filepath of the signing key.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Usage: cardano-cli address key-hash
( --payment-verification-key STRING
| --payment-verification-key-file FILE
| --payment-verification-key-file FILEPATH
)
[--out-file FILE]
[--out-file FILEPATH]

Print the hash of an address key.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILE
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--out-file FILE Optional output file. Default is to write 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,36 +1,37 @@
Usage: cardano-cli allegra address build
( --payment-verification-key STRING
| --payment-verification-key-file FILE
| --payment-script-file FILE
| --payment-verification-key-file FILEPATH
| --payment-script-file FILEPATH
)
[ --stake-verification-key STRING
| --stake-verification-key-file FILE
| --stake-verification-key-file FILEPATH
| --stake-key-hash HASH
| --stake-script-file FILE
| --stake-script-file FILEPATH
| --stake-address ADDRESS
]
(--mainnet | --testnet-magic NATURAL)
[--out-file FILE]
[--out-file FILEPATH]

Build a Shelley payment address, with optional delegation to a stake address.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILE
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--payment-script-file FILE
--payment-script-file FILEPATH
Filepath of the payment script.
--stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--stake-verification-key-file FILE
--stake-verification-key-file FILEPATH
Filepath of the staking verification key.
--stake-key-hash HASH Stake verification key hash (hex-encoded).
--stake-script-file FILE Filepath of the staking script.
--stake-script-file FILEPATH
Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--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 FILE Optional output file. Default is to write 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,8 +1,8 @@
Usage: cardano-cli allegra address info --address ADDRESS [--out-file FILE]
Usage: cardano-cli allegra address info --address ADDRESS [--out-file FILEPATH]

Print information about an address.

Available options:
--address ADDRESS A Cardano address
--out-file FILE Optional output file. Default is to write 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 @@ -3,8 +3,8 @@ Usage: cardano-cli allegra address key-gen [--key-output-format STRING]
| --extended-key
| --byron-key
]
--verification-key-file FILE
--signing-key-file FILE
--verification-key-file FILEPATH
--signing-key-file FILEPATH

Create an address key pair.

Expand All @@ -16,7 +16,8 @@ Available options:
--normal-key Use a normal Shelley-era key (default).
--extended-key Use an extended ed25519 Shelley-era key.
--byron-key Use a Byron-era key.
--verification-key-file FILE
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILE Output filepath of the signing key.
--signing-key-file FILEPATH
Output filepath of the signing key.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Usage: cardano-cli allegra address key-hash
( --payment-verification-key STRING
| --payment-verification-key-file FILE
| --payment-verification-key-file FILEPATH
)
[--out-file FILE]
[--out-file FILEPATH]

Print the hash of an address key.

Available options:
--payment-verification-key STRING
Payment verification key (Bech32-encoded)
--payment-verification-key-file FILE
--payment-verification-key-file FILEPATH
Filepath of the payment verification key.
--out-file FILE Optional output file. Default is to write 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 @@ -13,7 +13,7 @@ Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING]
[--bulk-pool-cred-files INT]
[--bulk-pools-per-file INT]
[--num-stuffed-utxo INT]
[--relay-specification-file FILE]
[--relay-specification-file FILEPATH]

Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.
Expand Down Expand Up @@ -52,7 +52,7 @@ Available options:
sets [default is 0].
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILE
--relay-specification-file FILEPATH
JSON file that specifies the relays of each stake
pool.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILE]
[--spec-alonzo FILE]
[--spec-conway FILE]
Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH]
[--spec-alonzo FILEPATH]
[--spec-conway FILEPATH]
[--genesis-keys INT]
[--pools INT]
[ --stake-delegators INT
Expand All @@ -14,18 +14,18 @@ Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILE]
[--total-supply LOVELACE]
[--delegated-supply LOVELACE]
[--testnet-magic NATURAL]
[--relays FILE]
[--relays FILEPATH]
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Available options:
--spec-shelley FILE The shelley specification file to use as input. A
--spec-shelley FILEPATH The shelley specification file to use as input. A
default one is generated if omitted.
--spec-alonzo FILE The alonzo specification file to use as input. A
--spec-alonzo FILEPATH The alonzo specification file to use as input. A
default one is generated if omitted.
--spec-conway FILE The conway specification file to use as input. A
--spec-conway FILEPATH The conway specification file to use as input. A
default one is generated if omitted.
--genesis-keys INT The number of genesis keys to make (default is 3).
--pools INT The number of stake pool credential sets to make
Expand Down Expand Up @@ -57,7 +57,7 @@ Available options:
--testnet-magic NATURAL Specify a testnet magic id for the cluster. This
overrides both the network magic from the spec file
and CARDANO_NODE_NETWORK_ID environment variable.
--relays FILE JSON file specifying the relays of each stake pool.
--relays FILEPATH JSON file specifying the relays of each stake pool.
--start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ
format. If unspecified, will be the current time +30
seconds.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILE
--signing-key-file FILE
Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH
--signing-key-file FILEPATH

Derive the verification key from a signing key

Available options:
--verification-key-file FILE
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILE Input filepath of the signing key.
--signing-key-file FILEPATH
Input filepath of the signing key.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Usage: cardano-cli allegra genesis hash --genesis FILE
Usage: cardano-cli allegra genesis hash --genesis FILEPATH

Compute the hash of a genesis file

Available options:
--genesis FILE The genesis file.
--genesis FILEPATH The genesis file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILE
Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILEPATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILE]
[--out-file FILEPATH]

Get the address for an initial UTxO based on the verification key

Available options:
--verification-key-file FILE
--verification-key-file FILEPATH
Input filepath of the verification key.
--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 FILE Optional output file. Default is to write 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,17 +1,17 @@
Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILE
Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILEPATH
( --mainnet
| --testnet-magic NATURAL
)
[--out-file FILE]
[--out-file FILEPATH]

Get the TxIn for an initial UTxO based on the verification key

Available options:
--verification-key-file FILE
--verification-key-file FILEPATH
Input filepath of the verification key.
--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 FILE Optional output file. Default is to write 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,14 +1,15 @@
Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILE
--signing-key-file FILE
--operational-certificate-issue-counter-file FILE
Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH
--signing-key-file FILEPATH
--operational-certificate-issue-counter-file FILEPATH

Create a Shelley genesis delegate key pair

Available options:
--verification-key-file FILE
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILE Output filepath of the signing key.
--operational-certificate-issue-counter-file FILE
--signing-key-file FILEPATH
Output filepath of the signing key.
--operational-certificate-issue-counter-file FILEPATH
The file with the issue counter for the operational
certificate.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILE
--signing-key-file FILE
Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH
--signing-key-file FILEPATH

Create a Shelley genesis key pair

Available options:
--verification-key-file FILE
--verification-key-file FILEPATH
Output filepath of the verification key.
--signing-key-file FILE Output filepath of the signing key.
--signing-key-file FILEPATH
Output filepath of the signing key.
-h,--help Show this help text
Loading

0 comments on commit dad25dc

Please sign in to comment.