Skip to content

Commit

Permalink
New golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Sep 19, 2024
1 parent ad32c7f commit c0fd909
Show file tree
Hide file tree
Showing 130 changed files with 5,750 additions and 2,223 deletions.
3,879 changes: 1,963 additions & 1,916 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,6 +1,6 @@
Usage: cardano-cli address (key-gen | key-hash | build | info)

Payment address commands
Payment address commands.

Available options:
-h,--help Show this help text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ Usage: cardano-cli genesis
| create-cardano
| create
| create-staked
| create-testnet-data
| hash
)

Genesis block commands
Genesis block commands.

Available options:
-h,--help Show this help text
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
@@ -1,12 +1,4 @@
Usage: cardano-cli genesis create-cardano
[ --shelley-era
| --allegra-era
| --mary-era
| --alonzo-era
| --babbage-era
| --conway-era
]
--genesis-dir DIR
Usage: cardano-cli genesis create-cardano --genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
[--start-time UTC-TIME]
Expand All @@ -27,17 +19,6 @@ Usage: cardano-cli genesis create-cardano
genesis/delegation/spending keys.

Available options:
--shelley-era Specify the Shelley era - DEPRECATED - will be
removed in the future
--allegra-era Specify the Allegra era - DEPRECATED - will be
removed in the future
--mary-era Specify the Mary era - DEPRECATED - will be removed
in the future
--alonzo-era Specify the Alonzo era - DEPRECATED - will be removed
in the future
--babbage-era Specify the Babbage era (default) - DEPRECATED - will
be removed in the future
--conway-era Specify the Conway era
--genesis-dir DIR The genesis directory containing the genesis template
and required genesis/delegation/spending keys.
--gen-genesis-keys INT The number of genesis keys to make [default is 3].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
Usage: cardano-cli genesis create-staked
[ --shelley-era
| --allegra-era
| --mary-era
| --alonzo-era
| --babbage-era
| --conway-era
]
[--key-output-format STRING]
Usage: cardano-cli genesis create-staked [--key-output-format STRING]
--genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
Expand All @@ -25,17 +17,6 @@ Usage: cardano-cli genesis create-staked
genesis/delegation/spending keys.

Available options:
--shelley-era Specify the Shelley era - DEPRECATED - will be
removed in the future
--allegra-era Specify the Allegra era - DEPRECATED - will be
removed in the future
--mary-era Specify the Mary era - DEPRECATED - will be removed
in the future
--alonzo-era Specify the Alonzo era - DEPRECATED - will be removed
in the future
--babbage-era Specify the Babbage era (default) - DEPRECATED - will
be removed in the future
--conway-era Specify the Conway era
--key-output-format STRING
Optional key output format. Accepted output formats
are "text-envelope" and "bech32" (default is
Expand Down Expand Up @@ -70,5 +51,6 @@ Available options:
--num-stuffed-utxo INT The number of fake UTxO entries to generate [default
is 0].
--relay-specification-file FILEPATH
JSON file specified the relays of each stake pool.
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
@@ -0,0 +1,66 @@
Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH]
[--spec-alonzo FILEPATH]
[--spec-conway FILEPATH]
[--genesis-keys INT]
[--pools INT]
[ --stake-delegators INT
| --transient-stake-delegators INT
]
[ --drep-keys INT
| --transient-drep-keys INT
]
[--stuffed-utxo INT]
[--utxo-keys INT]
[--total-supply LOVELACE]
[--delegated-supply LOVELACE]
[--testnet-magic NATURAL]
[--relays FILEPATH]
[--start-time UTC-TIME]
--out-dir DIR

Create data to use for starting a testnet.

Available options:
--spec-shelley FILEPATH The shelley specification file to use as input. A
default one is generated if omitted.
--spec-alonzo FILEPATH The alonzo specification file to use as input. A
default one is generated if omitted.
--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
(default is 0).
--stake-delegators INT The number of stake delegator credential sets to make
(default is 0). Credentials are written to disk.
--transient-stake-delegators INT
The number of stake delegator credential sets to make
(default is 0). The credentials are NOT written to
disk.
--drep-keys INT The number of DRep credentials to make (default is
0). Credentials are written to disk.
--transient-drep-keys INT
The number of DRep credentials to make (default is
0). The credentials are NOT written to disk.
--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).
--total-supply LOVELACE The maximum possible amount of Lovelace, which is
evenly distributed across stake holders. Overrides
the value from the shelley genesis. If
--delegated-supply is specified, a part of this
amount will be delegated.
--delegated-supply LOVELACE
The amount of the total supply which is evenly
delegated. Defaulted to half of the total supply.
Cannot be more than the amount specified with
--total-supply.
--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 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.
--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
@@ -1,12 +1,4 @@
Usage: cardano-cli genesis create
[ --shelley-era
| --allegra-era
| --mary-era
| --alonzo-era
| --babbage-era
| --conway-era
]
[--key-output-format STRING]
Usage: cardano-cli genesis create [--key-output-format STRING]
--genesis-dir DIR
[--gen-genesis-keys INT]
[--gen-utxo-keys INT]
Expand All @@ -18,17 +10,6 @@ Usage: cardano-cli genesis create
genesis/delegation/spending keys.

Available options:
--shelley-era Specify the Shelley era - DEPRECATED - will be
removed in the future
--allegra-era Specify the Allegra era - DEPRECATED - will be
removed in the future
--mary-era Specify the Mary era - DEPRECATED - will be removed
in the future
--alonzo-era Specify the Alonzo era - DEPRECATED - will be removed
in the future
--babbage-era Specify the Babbage era (default) - DEPRECATED - will
be removed in the future
--conway-era Specify the Conway era
--key-output-format STRING
Optional key output format. Accepted output formats
are "text-envelope" and "bech32" (default is
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
Usage: cardano-cli governance
( create-mir-certificate
| create-genesis-key-delegation-certificate
| create-update-proposal
| create-poll
| answer-poll
| verify-poll
)
Usage: cardano-cli governance (action | committee | drep | vote)

Governance commands
Governance commands.

Available options:
-h,--help Show this help text

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
create-genesis-key-delegation-certificate
Create a genesis key delegation certificate
create-update-proposal Create an update proposal
create-poll Create an SPO poll
answer-poll Answer an SPO poll
verify-poll Verify an answer to a given SPO poll
action Governance action commands.
committee Committee member commands.
drep DRep member commands.
vote Vote commands.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Usage: cardano-cli governance action
( create-constitution
| update-committee
| create-info
| create-no-confidence
| create-protocol-parameters-update
| create-treasury-withdrawal
| create-hardfork
| view
)

Governance action commands.

Available options:
-h,--help Show this help text

Available commands:
create-constitution Create a constitution.
update-committee Create or update a new committee proposal.
create-info Create an info action.
create-no-confidence Create a no confidence proposal.
create-protocol-parameters-update
Create a protocol parameters update.
create-treasury-withdrawal
Create a treasury withdrawal.
create-hardfork Create a hardfork initiation proposal.
view View a governance action.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Usage: cardano-cli governance action create-constitution (--mainnet | --testnet)
--governance-action-deposit NATURAL
( --deposit-return-stake-verification-key STRING
| --deposit-return-stake-verification-key-file FILEPATH
| --deposit-return-stake-key-hash HASH
| --deposit-return-stake-script-file FILEPATH
| --deposit-return-stake-address ADDRESS
)
[--prev-governance-action-tx-id TXID
--prev-governance-action-index WORD16]
--anchor-url TEXT
--anchor-data-hash HASH
--constitution-url TEXT
--constitution-hash HASH
[--constitution-script-hash HASH]
--out-file FILEPATH

Create a constitution.

Available options:
--mainnet Use the mainnet magic id.
--testnet Use the testnet magic id.
--governance-action-deposit NATURAL
Deposit required to submit a governance action.
--deposit-return-stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--deposit-return-stake-verification-key-file FILEPATH
Filepath of the staking verification key.
--deposit-return-stake-key-hash HASH
Stake verification key hash (hex-encoded).
--deposit-return-stake-script-file FILEPATH
Filepath of the staking script.
--deposit-return-stake-address ADDRESS
Target stake address (bech32 format).
--prev-governance-action-tx-id TXID
Txid of the previous governance action.
--prev-governance-action-index WORD16
Action index of the previous governance action.
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli hash anchor-data ...")
--constitution-url TEXT Constitution URL.
--constitution-hash HASH Hash of the constitution data (obtain it with
"cardano-cli hash anchor-data ...").
--constitution-script-hash HASH
Constitution script hash (hex-encoded). Obtain it
with "cardano-cli hash script ...".
--out-file FILEPATH Output filepath of the constitution.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Usage: cardano-cli governance action create-hardfork (--mainnet | --testnet)
--governance-action-deposit NATURAL
( --deposit-return-stake-verification-key STRING
| --deposit-return-stake-verification-key-file FILEPATH
| --deposit-return-stake-key-hash HASH
| --deposit-return-stake-script-file FILEPATH
| --deposit-return-stake-address ADDRESS
)
[--prev-governance-action-tx-id TXID
--prev-governance-action-index WORD16]
--anchor-url TEXT
--anchor-data-hash HASH
--protocol-major-version MAJOR
--protocol-minor-version MINOR
--out-file FILEPATH

Create a hardfork initiation proposal.

Available options:
--mainnet Use the mainnet magic id.
--testnet Use the testnet magic id.
--governance-action-deposit NATURAL
Deposit required to submit a governance action.
--deposit-return-stake-verification-key STRING
Stake verification key (Bech32 or hex-encoded).
--deposit-return-stake-verification-key-file FILEPATH
Filepath of the staking verification key.
--deposit-return-stake-key-hash HASH
Stake verification key hash (hex-encoded).
--deposit-return-stake-script-file FILEPATH
Filepath of the staking script.
--deposit-return-stake-address ADDRESS
Target stake address (bech32 format).
--prev-governance-action-tx-id TXID
Txid of the previous governance action.
--prev-governance-action-index WORD16
Action index of the previous governance action.
--anchor-url TEXT Anchor URL
--anchor-data-hash HASH Proposal anchor data hash (obtain it with
"cardano-cli hash anchor-data ...")
--protocol-major-version MAJOR
Specify the major protocol version to fork into. An
increase indicates a hard fork. It must be the next
natural number after the current version and must be
supported by the node.
--protocol-minor-version MINOR
Minor protocol version. An increase indicates a soft
fork (old software can validate but not produce new
blocks). Must be zero when the major protocol version
is increased.
--out-file FILEPATH Output filepath of the hardfork proposal.
-h,--help Show this help text
Loading

0 comments on commit c0fd909

Please sign in to comment.