From 6d4cbd4f398b478024edb13823065b5cf47f3b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Tue, 28 Nov 2023 16:37:33 +0100 Subject: [PATCH] Adapt golden files --- .../cardano-cli-golden/files/golden/help.cli | 119 ++++++++++++++++++ .../files/golden/help/allegra_genesis.cli | 2 + .../allegra_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/alonzo_genesis.cli | 2 + .../alonzo_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/babbage_genesis.cli | 2 + .../babbage_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/conway_genesis.cli | 2 + .../conway_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/latest_genesis.cli | 2 + .../latest_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/mary_genesis.cli | 2 + .../help/mary_genesis_create-testnet-data.cli | 46 +++++++ .../files/golden/help/shelley_genesis.cli | 2 + .../shelley_genesis_create-testnet-data.cli | 46 +++++++ 15 files changed, 455 insertions(+) create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index d2030cd672..3c6e33fd82 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -159,6 +159,7 @@ Usage: cardano-cli shelley genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -1300,6 +1317,7 @@ Usage: cardano-cli allegra genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -2441,6 +2475,7 @@ Usage: cardano-cli mary genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -3563,6 +3614,7 @@ Usage: cardano-cli alonzo genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -4708,6 +4776,7 @@ Usage: cardano-cli babbage genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -5875,6 +5960,7 @@ Usage: cardano-cli conway genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 @@ -7361,6 +7463,7 @@ Usage: cardano-cli latest genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli index 8b10843c12..26ad5f21ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli allegra genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..8220722f3b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli index a1d6c67f4e..ae53c4c925 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli alonzo genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..3d32eb1254 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli index 66ff95e5a9..a209f1dacf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli babbage genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..0d7b1c5a5b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli @@ -0,0 +1,46 @@ +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. + +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli index 768e24f913..fca90a1832 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..4fbca4822f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli @@ -0,0 +1,46 @@ +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. + +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli index d877b256b0..00364d4775 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..9ea434b9a8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli @@ -0,0 +1,46 @@ +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. + +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli index 95034b1ccf..a833fbfedf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli mary genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..c755e806ee --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli @@ -0,0 +1,46 @@ +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. + +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli index 65ff660ac0..4ddff5f8c0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli @@ -9,6 +9,7 @@ Usage: cardano-cli shelley genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) @@ -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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..506a67e5dd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli @@ -0,0 +1,46 @@ +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. + +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