Skip to content

Commit

Permalink
Update golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Oct 13, 2023
1 parent 6641206 commit edad822
Show file tree
Hide file tree
Showing 22 changed files with 822 additions and 35 deletions.
1 change: 0 additions & 1 deletion cardano-cli/src/Cardano/CLI/Types/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ import Cardano.Api
import qualified Cardano.Api.Ledger as L

import qualified Cardano.Chain.Slotting as Byron
import Cardano.Ledger.BaseTypes (AnchorData (AnchorData))
import qualified Cardano.Ledger.BaseTypes as L
import qualified Cardano.Ledger.Crypto as Crypto
import qualified Cardano.Ledger.SafeHash as L
Expand Down
231 changes: 219 additions & 12 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
@@ -0,0 +1,11 @@
Usage: cardano-cli allegra governance (create-mir-certificate | action)

Governance commands.

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

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
action Governance action commands.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL
[--genesis-verification-key-file FILE]
[--min-fee-constant LOVELACE]
[--min-fee-linear LOVELACE]
[--max-block-body-size NATURAL]
[--max-tx-size NATURAL]
[--max-block-header-size NATURAL]
[--key-reg-deposit-amt NATURAL]
[--pool-reg-deposit NATURAL]
[--pool-retirement-epoch-boundary EPOCH_BOUNDARY]
[--number-of-pools NATURAL]
[--pool-influence RATIONAL]
[--treasury-expansion RATIONAL]
[--monetary-expansion RATIONAL]
[--protocol-major-version NATURAL
--protocol-minor-version NATURAL]
[--min-pool-cost NATURAL]
[--min-utxo-value NATURAL]
[ --extra-entropy HEX
| --reset-extra-entropy
]
[--decentralization-parameter RATIONAL]
--out-file FILE

Create a protocol parameters update.

Available options:
--epoch NATURAL The epoch number in which the update proposal is
valid.
--genesis-verification-key-file FILE
Filepath of the genesis verification key.
--min-fee-constant LOVELACE
The constant factor for the minimum fee calculation.
--min-fee-linear LOVELACE
The linear factor per byte for the minimum fee
calculation.
--max-block-body-size NATURAL
Maximal block body size.
--max-tx-size NATURAL Maximum transaction size.
--max-block-header-size NATURAL
Maximum block header size.
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--pool-reg-deposit NATURAL
The amount of a pool registration deposit.
--pool-retirement-epoch-boundary EPOCH_BOUNDARY
Epoch bound on pool retirement.
--number-of-pools NATURAL
Desired number of pools.
--pool-influence RATIONAL
Pool influence.
--treasury-expansion RATIONAL
Treasury expansion.
--monetary-expansion RATIONAL
Monetary expansion.
--protocol-major-version NATURAL
Major protocol version. An increase indicates a hard
fork.
--protocol-minor-version NATURAL
Minor protocol version. An increase indicates a soft
fork (old software canvalidate but not produce new
blocks).
--min-pool-cost NATURAL The minimum allowed cost parameter for stake pools.
--min-utxo-value NATURAL The minimum allowed UTxO value (Shelley to Mary
eras).
--extra-entropy HEX Praos extra entropy seed, as a hex byte string.
--reset-extra-entropy Reset the Praos extra entropy to none.
--decentralization-parameter RATIONAL
Decentralization parameter.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli allegra stake-address deregistration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address deregistration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Usage: cardano-cli alonzo governance (create-mir-certificate | action)

Governance commands.

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

Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
action Governance action commands.
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL
[--genesis-verification-key-file FILE]
[--min-fee-constant LOVELACE]
[--min-fee-linear LOVELACE]
[--max-block-body-size NATURAL]
[--max-tx-size NATURAL]
[--max-block-header-size NATURAL]
[--key-reg-deposit-amt NATURAL]
[--pool-reg-deposit NATURAL]
[--pool-retirement-epoch-boundary EPOCH_BOUNDARY]
[--number-of-pools NATURAL]
[--pool-influence RATIONAL]
[--treasury-expansion RATIONAL]
[--monetary-expansion RATIONAL]
[--protocol-major-version NATURAL
--protocol-minor-version NATURAL]
[--min-pool-cost NATURAL]
[ --extra-entropy HEX
| --reset-extra-entropy
]
[--decentralization-parameter RATIONAL]
[--price-execution-steps RATIONAL
--price-execution-memory RATIONAL]
[--max-tx-execution-units (INT, INT)]
[--max-block-execution-units (INT, INT)]
[--max-value-size INT]
[--collateral-percent INT]
[--max-collateral-inputs INT]
[--utxo-cost-per-word LOVELACE]
--out-file FILE

Create a protocol parameters update.

Available options:
--epoch NATURAL The epoch number in which the update proposal is
valid.
--genesis-verification-key-file FILE
Filepath of the genesis verification key.
--min-fee-constant LOVELACE
The constant factor for the minimum fee calculation.
--min-fee-linear LOVELACE
The linear factor per byte for the minimum fee
calculation.
--max-block-body-size NATURAL
Maximal block body size.
--max-tx-size NATURAL Maximum transaction size.
--max-block-header-size NATURAL
Maximum block header size.
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--pool-reg-deposit NATURAL
The amount of a pool registration deposit.
--pool-retirement-epoch-boundary EPOCH_BOUNDARY
Epoch bound on pool retirement.
--number-of-pools NATURAL
Desired number of pools.
--pool-influence RATIONAL
Pool influence.
--treasury-expansion RATIONAL
Treasury expansion.
--monetary-expansion RATIONAL
Monetary expansion.
--protocol-major-version NATURAL
Major protocol version. An increase indicates a hard
fork.
--protocol-minor-version NATURAL
Minor protocol version. An increase indicates a soft
fork (old software canvalidate but not produce new
blocks).
--min-pool-cost NATURAL The minimum allowed cost parameter for stake pools.
--extra-entropy HEX Praos extra entropy seed, as a hex byte string.
--reset-extra-entropy Reset the Praos extra entropy to none.
--decentralization-parameter RATIONAL
Decentralization parameter.
--price-execution-steps RATIONAL
Step price of execution units for script languages
that use them (from Alonzo era). (Examples: '1.1',
'11/10')
--price-execution-memory RATIONAL
Memory price of execution units for script languages
that use them (from Alonzo era). (Examples: '1.1',
'11/10')
--max-tx-execution-units (INT, INT)
Max total script execution resources units allowed
per tx (from Alonzo era). They are denominated as
follows (steps, memory).
--max-block-execution-units (INT, INT)
Max total script execution resources units allowed
per block (from Alonzo era). They are denominated as
follows (steps, memory).
--max-value-size INT Max size of a multi-asset value in a tx output (from
Alonzo era).
--collateral-percent INT The percentage of the script contribution to the
txfee that must be provided as collateral inputs when
including Plutus scripts (from Alonzo era).
--max-collateral-inputs INT
The maximum number of collateral inputs allowed in a
transaction (from Alonzo era).
--utxo-cost-per-word LOVELACE
Cost in lovelace per unit of UTxO storage (from
Alonzo era).
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Usage: cardano-cli alonzo stake-address deregistration-certificate
| --stake-script-file FILE
| --stake-address ADDRESS
)
[--key-reg-deposit-amt NATURAL]
--out-file FILE

Create a stake address deregistration certificate
Expand All @@ -16,7 +15,5 @@ Available options:
Filepath of the staking verification key.
--stake-script-file FILE Filepath of the staking script.
--stake-address ADDRESS Target stake address (bech32 format).
--key-reg-deposit-amt NATURAL
Key registration deposit amount.
--out-file FILE The output file.
-h,--help Show this help text
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Usage: cardano-cli babbage governance
( create-mir-certificate
| action
| create-poll
| answer-poll
| verify-poll
Expand All @@ -13,6 +14,7 @@ Available options:
Available commands:
create-mir-certificate Create an MIR (Move Instantaneous Rewards)
certificate
action Governance action commands.
create-poll Create an SPO poll
answer-poll Answer an SPO poll
verify-poll Verify an answer to a given SPO poll
Loading

0 comments on commit edad822

Please sign in to comment.