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 30, 2023
1 parent 898ece7 commit 6d4cbd4
Show file tree
Hide file tree
Showing 15 changed files with 455 additions and 0 deletions.
119 changes: 119 additions & 0 deletions cardano-cli/test/cardano-cli-golden/files/golden/help.cli
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Usage: cardano-cli shelley genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -258,6 +259,22 @@ Usage: cardano-cli shelley genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli shelley genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli shelley genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -1300,6 +1317,7 @@ Usage: cardano-cli allegra genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -1399,6 +1417,22 @@ Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli allegra genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -2441,6 +2475,7 @@ Usage: cardano-cli mary genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -2538,6 +2573,22 @@ Usage: cardano-cli mary genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli mary genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli mary genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -3563,6 +3614,7 @@ Usage: cardano-cli alonzo genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -3660,6 +3712,22 @@ Usage: cardano-cli alonzo genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli alonzo genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli alonzo genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -4708,6 +4776,7 @@ Usage: cardano-cli babbage genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -4807,6 +4876,22 @@ Usage: cardano-cli babbage genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli babbage genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli babbage genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -5875,6 +5960,7 @@ Usage: cardano-cli conway genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -5972,6 +6058,22 @@ Usage: cardano-cli conway genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli conway genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli conway genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down Expand Up @@ -7361,6 +7463,7 @@ Usage: cardano-cli latest genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand Down Expand Up @@ -7458,6 +7561,22 @@ Usage: cardano-cli latest genesis create-staked [--key-output-format STRING]
Create a staked Shelley genesis file from a genesis template and
genesis/delegation/spending keys.

Usage: cardano-cli latest genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Usage: cardano-cli latest genesis hash --genesis FILE

Compute the hash of a genesis file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Usage: cardano-cli allegra genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand All @@ -34,4 +35,5 @@ Available commands:
and genesis/delegation/spending keys.
create-staked Create a staked Shelley genesis file from a genesis
template and genesis/delegation/spending keys.
create-testnet-data Create data to use for starting a testnet.
hash Compute the hash of a genesis file
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--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
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
(default is 0).
--stake-delegators INT The number of stake delegator credential sets to make
(default is 0).
--stuffed-utxo INT The number of fake UTxO entries to generate (default
is 0).
--utxo-keys INT The number of UTxO keys to make (default is 0).
--supply LOVELACE The initial coin supply in Lovelace which will be
evenly distributed across initial, non-delegating
stake holders. Defaults to 1 million Ada (i.e. 10^12
Lovelace).
--supply-delegated LOVELACE
The initial coin supply in Lovelace which will be
evenly distributed across initial, delegating stake
holders. Defaults to 1 million Ada (i.e. 10^12
Lovelace).
--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
--start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ
format. If unspecified, will be the current time +30
seconds.
--out-dir DIR The directory where to generate the data. Created if
not existing.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Usage: cardano-cli alonzo genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand All @@ -34,4 +35,5 @@ Available commands:
and genesis/delegation/spending keys.
create-staked Create a staked Shelley genesis file from a genesis
template and genesis/delegation/spending keys.
create-testnet-data Create data to use for starting a testnet.
hash Compute the hash of a genesis file
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Usage: cardano-cli alonzo genesis create-testnet-data [--spec-shelley FILE]
[--genesis-keys INT]
[--pools INT]
[--stake-delegators INT]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--supply LOVELACE]
[--supply-delegated LOVELACE]
( --mainnet
| --testnet-magic NATURAL
)
[--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
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
(default is 0).
--stake-delegators INT The number of stake delegator credential sets to make
(default is 0).
--stuffed-utxo INT The number of fake UTxO entries to generate (default
is 0).
--utxo-keys INT The number of UTxO keys to make (default is 0).
--supply LOVELACE The initial coin supply in Lovelace which will be
evenly distributed across initial, non-delegating
stake holders. Defaults to 1 million Ada (i.e. 10^12
Lovelace).
--supply-delegated LOVELACE
The initial coin supply in Lovelace which will be
evenly distributed across initial, delegating stake
holders. Defaults to 1 million Ada (i.e. 10^12
Lovelace).
--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
--start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ
format. If unspecified, will be the current time +30
seconds.
--out-dir DIR The directory where to generate the data. Created if
not existing.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Usage: cardano-cli babbage genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Expand All @@ -34,4 +35,5 @@ Available commands:
and genesis/delegation/spending keys.
create-staked Create a staked Shelley genesis file from a genesis
template and genesis/delegation/spending keys.
create-testnet-data Create data to use for starting a testnet.
hash Compute the hash of a genesis file
Loading

0 comments on commit 6d4cbd4

Please sign in to comment.