diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 582dfe4425..3b64b93b11 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -933,14 +933,21 @@ pUrl l h = fromMaybe (error "Url longer than 64 bytes") , Opt.help h ]) -pGovActionDeposit :: Maybe String -> Parser Lovelace -pGovActionDeposit prefix = +pGovActionDeposit :: Parser Lovelace +pGovActionDeposit = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "governance-action-deposit" + [ Opt.long "governance-action-deposit" , Opt.metavar "NATURAL" , Opt.help "Deposit required to submit a governance action." ] +pNewGovActionDeposit :: Parser Lovelace +pNewGovActionDeposit = + Opt.option (readerFromParsecParser parseLovelace) $ mconcat + [ Opt.long "new-governance-action-deposit" + , Opt.metavar "NATURAL" + , Opt.help "Proposed new value of the deposit required to submit a governance action." + ] -- | First argument is the optional prefix pStakeVerificationKeyOrHashOrFile :: Maybe String -> Parser (VerificationKeyOrHashOrFile StakeKey) @@ -2543,180 +2550,180 @@ pStakePoolRegistrationParserRequirements envCli = pProtocolParametersUpdate :: Parser ProtocolParametersUpdate pProtocolParametersUpdate = ProtocolParametersUpdate - <$> optional (pProtocolVersion $ Just "new") - <*> optional (pDecentralParam $ Just "new") - <*> optional (pExtraEntropy $ Just "new") - <*> optional (pMaxBlockHeaderSize $ Just "new") - <*> optional (pMaxBodySize $ Just "new") - <*> optional (pMaxTransactionSize $ Just "new") - <*> optional (pMinFeeConstantFactor $ Just "new") - <*> optional (pMinFeePerByteFactor $ Just "new") - <*> optional (pMinUTxOValue $ Just "new") - <*> optional (pKeyRegistDeposit $ Just "new") - <*> optional (pPoolDeposit $ Just "new") - <*> optional (pMinPoolCost $ Just "new") - <*> optional (pEpochBoundRetirement $ Just "new") - <*> optional (pNumberOfPools $ Just "new") - <*> optional (pPoolInfluence $ Just "new") - <*> optional (pMonetaryExpansion $ Just "new") - <*> optional (pTreasuryExpansion $ Just "new") - <*> optional (pUTxOCostPerWord $ Just "new") + <$> optional pProtocolVersion + <*> optional pDecentralParam + <*> optional pExtraEntropy + <*> optional pMaxBlockHeaderSize + <*> optional pMaxBodySize + <*> optional pMaxTransactionSize + <*> optional pMinFeeConstantFactor + <*> optional pMinFeePerByteFactor + <*> optional pMinUTxOValue + <*> optional pKeyRegistDeposit + <*> optional pPoolDeposit + <*> optional pMinPoolCost + <*> optional pEpochBoundRetirement + <*> optional pNumberOfPools + <*> optional pPoolInfluence + <*> optional pMonetaryExpansion + <*> optional pTreasuryExpansion + <*> pure Nothing <*> pure mempty - <*> optional (pExecutionUnitPrices $ Just "new") - <*> optional (pMaxTxExecutionUnits $ Just "new") - <*> optional (pMaxBlockExecutionUnits $ Just "new") - <*> optional (pMaxValueSize $ Just "new") - <*> optional (pCollateralPercent $ Just "new") - <*> optional (pMaxCollateralInputs $ Just "new") - <*> optional (pUTxOCostPerByte $ Just "new") - -pCostModels :: Maybe String -> Parser FilePath -pCostModels prefix = + <*> optional pExecutionUnitPrices + <*> optional pMaxTxExecutionUnits + <*> optional pMaxBlockExecutionUnits + <*> optional pMaxValueSize + <*> optional pCollateralPercent + <*> optional pMaxCollateralInputs + <*> optional pUTxOCostPerByte + +pCostModels :: Parser FilePath +pCostModels = Opt.strOption $ mconcat - [ Opt.long $ prefixFlag prefix "cost-model-file" + [ Opt.long "cost-model-file" , Opt.metavar "FILE" , Opt.help "Filepath of the JSON formatted cost model" , Opt.completer (Opt.bashCompleter "file") ] -pMinFeePerByteFactor :: Maybe String -> Parser Lovelace -pMinFeePerByteFactor prefix = +pMinFeePerByteFactor :: Parser Lovelace +pMinFeePerByteFactor = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "min-fee-linear" + [ Opt.long "min-fee-linear" , Opt.metavar "LOVELACE" , Opt.help "The linear factor per byte for the minimum fee calculation." ] -pMinFeeConstantFactor :: Maybe String -> Parser Lovelace -pMinFeeConstantFactor prefix = +pMinFeeConstantFactor :: Parser Lovelace +pMinFeeConstantFactor = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "min-fee-constant" + [ Opt.long "min-fee-constant" , Opt.metavar "LOVELACE" , Opt.help "The constant factor for the minimum fee calculation." ] -pMinUTxOValue :: Maybe String -> Parser Lovelace -pMinUTxOValue prefix = +pMinUTxOValue :: Parser Lovelace +pMinUTxOValue = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "min-utxo-value" + [ Opt.long "min-utxo-value" , Opt.metavar "NATURAL" , Opt.help "The minimum allowed UTxO value (Shelley to Mary eras)." ] -pMinPoolCost :: Maybe String -> Parser Lovelace -pMinPoolCost prefix = +pMinPoolCost :: Parser Lovelace +pMinPoolCost = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "min-pool-cost" + [ Opt.long "min-pool-cost" , Opt.metavar "NATURAL" , Opt.help "The minimum allowed cost parameter for stake pools." ] -pMaxBodySize :: Maybe String -> Parser Natural -pMaxBodySize prefix = +pMaxBodySize :: Parser Natural +pMaxBodySize = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "max-block-body-size" + [ Opt.long "max-block-body-size" , Opt.metavar "NATURAL" - , Opt.help "The maximal block body size." + , Opt.help "Maximal block body size." ] -pMaxTransactionSize :: Maybe String -> Parser Natural -pMaxTransactionSize prefix = +pMaxTransactionSize :: Parser Natural +pMaxTransactionSize = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "max-tx-size" + [ Opt.long "max-tx-size" , Opt.metavar "NATURAL" - , Opt.help "The maximum transaction size." + , Opt.help "Maximum transaction size." ] -pMaxBlockHeaderSize :: Maybe String -> Parser Natural -pMaxBlockHeaderSize prefix = +pMaxBlockHeaderSize :: Parser Natural +pMaxBlockHeaderSize = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "max-block-header-size" + [ Opt.long "max-block-header-size" , Opt.metavar "NATURAL" - , Opt.help "The minimum block header size." + , Opt.help "Maximum block header size." ] -pKeyRegistDeposit :: Maybe String -> Parser Lovelace -pKeyRegistDeposit prefix = +pKeyRegistDeposit :: Parser Lovelace +pKeyRegistDeposit = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "key-reg-deposit-amt" + [ Opt.long "key-reg-deposit-amt" , Opt.metavar "NATURAL" , Opt.help "Key registration deposit amount." ] -pDrepDeposit :: Maybe String -> Parser Lovelace -pDrepDeposit prefix = +pDrepDeposit :: Parser Lovelace +pDrepDeposit = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "deposit-amt" + [ Opt.long "deposit-amt" , Opt.metavar "LOVELACE" , Opt.help "DRep deposit amount (same at registration and retirement)." ] -pPoolDeposit :: Maybe String -> Parser Lovelace -pPoolDeposit prefix = +pPoolDeposit :: Parser Lovelace +pPoolDeposit = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "pool-reg-deposit" + [ Opt.long "pool-reg-deposit" , Opt.metavar "NATURAL" , Opt.help "The amount of a pool registration deposit." ] -pEpochBoundRetirement :: Maybe String -> Parser EpochNo -pEpochBoundRetirement prefix = +pEpochBoundRetirement :: Parser EpochNo +pEpochBoundRetirement = fmap EpochNo $ Opt.option (bounded "EPOCH_BOUNDARY") $ mconcat - [ Opt.long $ prefixFlag prefix "pool-retirement-epoch-boundary" + [ Opt.long "pool-retirement-epoch-boundary" , Opt.metavar "EPOCH_BOUNDARY" , Opt.help "Epoch bound on pool retirement." ] -pNumberOfPools :: Maybe String -> Parser Natural -pNumberOfPools prefix = +pNumberOfPools :: Parser Natural +pNumberOfPools = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "number-of-pools" + [ Opt.long "number-of-pools" , Opt.metavar "NATURAL" , Opt.help "Desired number of pools." ] -pPoolInfluence :: Maybe String -> Parser Rational -pPoolInfluence prefix = +pPoolInfluence :: Parser Rational +pPoolInfluence = Opt.option readRational $ mconcat - [ Opt.long $ prefixFlag prefix "pool-influence" + [ Opt.long "pool-influence" , Opt.metavar "RATIONAL" , Opt.help "Pool influence." ] -pTreasuryExpansion :: Maybe String -> Parser Rational -pTreasuryExpansion prefix = +pTreasuryExpansion :: Parser Rational +pTreasuryExpansion = Opt.option readRationalUnitInterval $ mconcat - [ Opt.long $ prefixFlag prefix "treasury-expansion" + [ Opt.long "treasury-expansion" , Opt.metavar "RATIONAL" , Opt.help "Treasury expansion." ] -pMonetaryExpansion :: Maybe String -> Parser Rational -pMonetaryExpansion prefix = +pMonetaryExpansion :: Parser Rational +pMonetaryExpansion = Opt.option readRationalUnitInterval $ mconcat - [ Opt.long $ prefixFlag prefix "monetary-expansion" + [ Opt.long "monetary-expansion" , Opt.metavar "RATIONAL" , Opt.help "Monetary expansion." ] -pDecentralParam :: Maybe String -> Parser Rational -pDecentralParam prefix = +pDecentralParam :: Parser Rational +pDecentralParam = Opt.option readRationalUnitInterval $ mconcat - [ Opt.long $ prefixFlag prefix "decentralization-parameter" + [ Opt.long "decentralization-parameter" , Opt.metavar "RATIONAL" , Opt.help "Decentralization parameter." ] -pExtraEntropy :: Maybe String -> Parser (Maybe PraosNonce) -pExtraEntropy prefix = +pExtraEntropy :: Parser (Maybe PraosNonce) +pExtraEntropy = asum [ Opt.option (Just <$> readerFromParsecParser parsePraosNonce) $ mconcat - [ Opt.long $ prefixFlag prefix "extra-entropy" + [ Opt.long "extra-entropy" , Opt.metavar "HEX" , Opt.help "Praos extra entropy seed, as a hex byte string." ] , Opt.flag' Nothing $ mconcat - [ Opt.long $ prefixFlag prefix "reset-extra-entropy" + [ Opt.long "reset-extra-entropy" , Opt.help "Reset the Praos extra entropy to none." ] ] @@ -2729,27 +2736,19 @@ pExtraEntropy prefix = . B16.decode . BSC.pack =<< some Parsec.hexDigit -pUTxOCostPerWord :: Maybe String -> Parser Lovelace -pUTxOCostPerWord prefix = - Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "utxo-cost-per-word" - , Opt.metavar "LOVELACE" - , Opt.help "Cost in lovelace per unit of UTxO storage (from Alonzo era)." - ] - -pUTxOCostPerByte :: Maybe String -> Parser Lovelace -pUTxOCostPerByte prefix = +pUTxOCostPerByte :: Parser Lovelace +pUTxOCostPerByte = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "utxo-cost-per-byte" + [ Opt.long "utxo-cost-per-byte" , Opt.metavar "LOVELACE" , Opt.help "Cost in lovelace per unit of UTxO storage (from Babbage era)." ] -pExecutionUnitPrices :: Maybe String -> Parser ExecutionUnitPrices -pExecutionUnitPrices prefix = ExecutionUnitPrices +pExecutionUnitPrices :: Parser ExecutionUnitPrices +pExecutionUnitPrices = ExecutionUnitPrices <$> Opt.option readRational ( mconcat - [ Opt.long $ prefixFlag prefix "price-execution-steps" + [ Opt.long "price-execution-steps" , Opt.metavar "RATIONAL" , Opt.help $ mconcat [ "Step price of execution units for script languages that use " @@ -2759,7 +2758,7 @@ pExecutionUnitPrices prefix = ExecutionUnitPrices ) <*> Opt.option readRational ( mconcat - [ Opt.long $ prefixFlag prefix "price-execution-memory" + [ Opt.long "price-execution-memory" , Opt.metavar "RATIONAL" , Opt.help $ mconcat [ "Memory price of execution units for script languages that " @@ -2768,12 +2767,12 @@ pExecutionUnitPrices prefix = ExecutionUnitPrices ] ) -pMaxTxExecutionUnits :: Maybe String -> Parser ExecutionUnits -pMaxTxExecutionUnits prefix = +pMaxTxExecutionUnits :: Parser ExecutionUnits +pMaxTxExecutionUnits = uncurry ExecutionUnits <$> Opt.option Opt.auto ( mconcat - [ Opt.long $ prefixFlag prefix "max-tx-execution-units" + [ Opt.long "max-tx-execution-units" , Opt.metavar "(INT, INT)" , Opt.help $ mconcat [ "Max total script execution resources units allowed per tx " @@ -2782,12 +2781,12 @@ pMaxTxExecutionUnits prefix = ] ) -pMaxBlockExecutionUnits :: Maybe String -> Parser ExecutionUnits -pMaxBlockExecutionUnits prefix = +pMaxBlockExecutionUnits :: Parser ExecutionUnits +pMaxBlockExecutionUnits = uncurry ExecutionUnits <$> Opt.option Opt.auto ( mconcat - [ Opt.long $ prefixFlag prefix "max-block-execution-units" + [ Opt.long "max-block-execution-units" , Opt.metavar "(INT, INT)" , Opt.help $ mconcat [ "Max total script execution resources units allowed per block " @@ -2796,20 +2795,20 @@ pMaxBlockExecutionUnits prefix = ] ) -pMaxValueSize :: Maybe String -> Parser Natural -pMaxValueSize prefix = +pMaxValueSize :: Parser Natural +pMaxValueSize = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "max-value-size" + [ Opt.long "max-value-size" , Opt.metavar "INT" , Opt.help $ mconcat [ "Max size of a multi-asset value in a tx output (from Alonzo era)." ] ] -pCollateralPercent :: Maybe String -> Parser Natural -pCollateralPercent prefix = +pCollateralPercent :: Parser Natural +pCollateralPercent = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "collateral-percent" + [ Opt.long "collateral-percent" , Opt.metavar "INT" , Opt.help $ mconcat [ "The percentage of the script contribution to the txfee that " @@ -2818,10 +2817,10 @@ pCollateralPercent prefix = ] ] -pMaxCollateralInputs :: Maybe String -> Parser Natural -pMaxCollateralInputs prefix = +pMaxCollateralInputs :: Parser Natural +pMaxCollateralInputs = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "max-collateral-inputs" + [ Opt.long "max-collateral-inputs" , Opt.metavar "INT" , Opt.help $ mconcat [ "The maximum number of collateral inputs allowed in a " @@ -2829,19 +2828,19 @@ pMaxCollateralInputs prefix = ] ] -pProtocolVersion :: Maybe String -> Parser (Natural, Natural) -pProtocolVersion prefix = +pProtocolVersion :: Parser (Natural, Natural) +pProtocolVersion = (,) <$> pProtocolMajorVersion <*> pProtocolMinorVersion where pProtocolMajorVersion = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "protocol-major-version" + [ Opt.long "protocol-major-version" , Opt.metavar "NATURAL" , Opt.help "Major protocol version. An increase indicates a hard fork." ] pProtocolMinorVersion = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "protocol-minor-version" + [ Opt.long "protocol-minor-version" , Opt.metavar "NATURAL" , Opt.help $ mconcat [ "Minor protocol version. An increase indicates a soft fork" @@ -2849,8 +2848,8 @@ pProtocolVersion prefix = ] ] -pPoolVotingThresholds :: Maybe String -> Parser Ledger.PoolVotingThresholds -pPoolVotingThresholds prefix = +pPoolVotingThresholds :: Parser Ledger.PoolVotingThresholds +pPoolVotingThresholds = Ledger.PoolVotingThresholds <$> pMotionNoConfidence <*> pCommitteeNormal @@ -2859,31 +2858,31 @@ pPoolVotingThresholds prefix = where pMotionNoConfidence = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "pool-voting-threshold-motion-no-confidence" + [ Opt.long "pool-voting-threshold-motion-no-confidence" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pCommitteeNormal = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "pool-voting-threshold-committee-normal" + [ Opt.long "pool-voting-threshold-committee-normal" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pCommitteeNoConfidence = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "pool-voting-threshold-committee-no-confidence" + [ Opt.long "pool-voting-threshold-committee-no-confidence" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pHardForkInitiation = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "pool-voting-threshold-hard-fork-initiation" + [ Opt.long "pool-voting-threshold-hard-fork-initiation" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] -pDRepVotingThresholds :: Maybe String -> Parser Ledger.DRepVotingThresholds -pDRepVotingThresholds prefix = +pDRepVotingThresholds :: Parser Ledger.DRepVotingThresholds +pDRepVotingThresholds = Ledger.DRepVotingThresholds <$> pMotionNoConfidence <*> pCommitteeNormal @@ -2898,101 +2897,101 @@ pDRepVotingThresholds prefix = where pMotionNoConfidence = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-motion-no-confidence" + [ Opt.long "drep-voting-threshold-motion-no-confidence" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pCommitteeNormal = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-committee-normal" + [ Opt.long "drep-voting-threshold-committee-normal" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pCommitteeNoConfidence = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-committee-no-confidence" + [ Opt.long "drep-voting-threshold-committee-no-confidence" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pUpdateToConstitution = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-update-to-constitution" + [ Opt.long "drep-voting-threshold-update-to-constitution" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pHardForkInitiation = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-hard-fork-initiation" + [ Opt.long "drep-voting-threshold-hard-fork-initiation" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pPPNetworkGroup = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-pp-network-group" + [ Opt.long "drep-voting-threshold-pp-network-group" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pPPEconomicGroup = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-pp-economic-group" + [ Opt.long "drep-voting-threshold-pp-economic-group" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pPPTechnicalGroup = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-pp-technical-group" + [ Opt.long "drep-voting-threshold-pp-technical-group" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pPPGovGroup = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-pp-governance-group" + [ Opt.long "drep-voting-threshold-pp-governance-group" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] pTreasuryWithdrawal = Opt.option (toUnitIntervalOrErr <$> readRationalUnitInterval) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-voting-threshold-treasury-withdrawal" + [ Opt.long "drep-voting-threshold-treasury-withdrawal" , Opt.metavar "RATIONAL" , Opt.help "TODO" ] -pMinCommitteeSize :: Maybe String -> Parser Natural -pMinCommitteeSize prefix = +pMinCommitteeSize :: Parser Natural +pMinCommitteeSize = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "min-committee-size" + [ Opt.long "min-committee-size" , Opt.metavar "INT" , Opt.help "TODO" ] -pCommitteeTermLength :: Maybe String -> Parser Natural -pCommitteeTermLength prefix = +pCommitteeTermLength :: Parser Natural +pCommitteeTermLength = Opt.option Opt.auto $ mconcat - [ Opt.long $ prefixFlag prefix "committee-term-length" + [ Opt.long "committee-term-length" , Opt.metavar "INT" , Opt.help "TODO" ] -pGovActionLifetime :: Maybe String -> Parser EpochNo -pGovActionLifetime prefix = +pGovActionLifetime :: Parser EpochNo +pGovActionLifetime = fmap EpochNo $ Opt.option (bounded "EPOCH") $ mconcat - [ Opt.long $ prefixFlag prefix "governance-action-lifetime" + [ Opt.long "governance-action-lifetime" , Opt.metavar "NATURAL" , Opt.help "TODO" ] -pDRepDeposit :: Maybe String -> Parser Lovelace -pDRepDeposit prefix = +pDRepDeposit :: Parser Lovelace +pDRepDeposit = Opt.option (readerFromParsecParser parseLovelace) $ mconcat - [ Opt.long $ prefixFlag prefix "drep-deposit" + [ Opt.long "drep-deposit" , Opt.metavar "LOVELACE" , Opt.help "TODO" ] -pDRepActivity :: Maybe String -> Parser EpochNo -pDRepActivity prefix = +pDRepActivity :: Parser EpochNo +pDRepActivity = fmap EpochNo $ Opt.option (bounded "EPOCH") $ mconcat - [ Opt.long $ prefixFlag prefix "drep-activity" + [ Opt.long "drep-activity" , Opt.metavar "NATURAL" , Opt.help "TODO" ] diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Actions.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Actions.hs index fddfe1f1bd..daf50c460a 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Actions.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/Actions.hs @@ -67,7 +67,7 @@ pGovernanceActionNewInfoCmd era = do ( fmap Cmd.GovernanceActionInfoCmd $ Cmd.GovernanceActionInfoCmdArgs eon <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier Nothing <*> pProposalUrl <*> pProposalHashSource @@ -87,7 +87,7 @@ pGovernanceActionNewConstitutionCmd era = do ( fmap Cmd.GovernanceActionCreateConstitutionCmd $ Cmd.GovernanceActionCreateConstitutionCmdArgs eon <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier Nothing <*> pPreviousGovernanceAction <*> pProposalUrl @@ -117,7 +117,7 @@ pUpdateCommitteeCmd :: () pUpdateCommitteeCmd eon = Cmd.GoveranceActionUpdateCommitteeCmdArgs eon <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier Nothing <*> pProposalUrl <*> pProposalHashSource @@ -142,7 +142,7 @@ pGovernanceActionNoConfidenceCmd era = do ( fmap Cmd.GovernanceActionCreateNoConfidenceCmd $ Cmd.GovernanceActionCreateNoConfidenceCmdArgs eon <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier Nothing <*> pProposalUrl <*> pProposalHashSource @@ -170,7 +170,7 @@ pUpdateProtocolParametersPostConway :: ConwayEraOnwards era -> Parser (Cmd.Updat pUpdateProtocolParametersPostConway conwayOnwards = Cmd.UpdateProtocolParametersConwayOnwards conwayOnwards <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier Nothing <*> pProposalUrl <*> pProposalHashSource @@ -215,7 +215,7 @@ pCostModelsFile = (const $ pure Nothing) ( \alonzoOnwards -> fmap (Cmd.CostModelsFile alonzoOnwards . File) - <$> optional (pCostModels (Just "new")) + <$> optional pCostModels ) pGovernanceActionProtocolParametersUpdateCmd :: () @@ -248,61 +248,61 @@ mkProtocolVersionOrErr (majorProtVer, minorProtVer) = pCommonProtocolParameters :: Parser CommonProtocolParametersUpdate pCommonProtocolParameters = CommonProtocolParametersUpdate - <$> convertToLedger toShelleyLovelace (optional $ pMinFeeConstantFactor $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pMinFeePerByteFactor $ Just "new") - <*> convertToLedger id (optional $ pMaxBodySize $ Just "new") - <*> convertToLedger id (optional $ pMaxTransactionSize $ Just "new") - <*> convertToLedger id (optional $ pMaxBlockHeaderSize $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pKeyRegistDeposit $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pPoolDeposit $ Just "new") - <*> convertToLedger id (optional $ pEpochBoundRetirement $ Just "new") - <*> convertToLedger id (optional $ pNumberOfPools $ Just "new") - <*> convertToLedger toNonNegativeIntervalOrErr (optional $ pPoolInfluence $ Just "new") - <*> convertToLedger toUnitIntervalOrErr (optional $ pTreasuryExpansion $ Just "new") - <*> convertToLedger toUnitIntervalOrErr (optional $ pMonetaryExpansion $ Just "new") - <*> convertToLedger mkProtocolVersionOrErr (optional $ pProtocolVersion $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pMinPoolCost $ Just "new") + <$> convertToLedger toShelleyLovelace (optional pMinFeeConstantFactor) + <*> convertToLedger toShelleyLovelace (optional pMinFeePerByteFactor) + <*> convertToLedger id (optional pMaxBodySize) + <*> convertToLedger id (optional pMaxTransactionSize) + <*> convertToLedger id (optional pMaxBlockHeaderSize) + <*> convertToLedger toShelleyLovelace (optional pKeyRegistDeposit) + <*> convertToLedger toShelleyLovelace (optional pPoolDeposit) + <*> convertToLedger id (optional pEpochBoundRetirement) + <*> convertToLedger id (optional pNumberOfPools) + <*> convertToLedger toNonNegativeIntervalOrErr (optional pPoolInfluence) + <*> convertToLedger toUnitIntervalOrErr (optional pTreasuryExpansion) + <*> convertToLedger toUnitIntervalOrErr (optional pMonetaryExpansion) + <*> convertToLedger mkProtocolVersionOrErr (optional pProtocolVersion) + <*> convertToLedger toShelleyLovelace (optional pMinPoolCost) pDeprecatedAfterMaryPParams :: Parser (DeprecatedAfterMaryPParams ledgerera) pDeprecatedAfterMaryPParams = DeprecatedAfterMaryPParams - <$> convertToLedger toShelleyLovelace (optional $ pMinUTxOValue $ Just "new") + <$> convertToLedger toShelleyLovelace (optional pMinUTxOValue) pShelleyToAlonzoPParams :: Parser (ShelleyToAlonzoPParams' ledgerera) pShelleyToAlonzoPParams = ShelleyToAlonzoPParams' - <$> convertToLedger id (optional $ toLedgerNonce <$> pExtraEntropy (Just "new")) - <*> convertToLedger toUnitIntervalOrErr (optional $ pDecentralParam $ Just "new") + <$> convertToLedger id (optional $ toLedgerNonce <$> pExtraEntropy) + <*> convertToLedger toUnitIntervalOrErr (optional pDecentralParam) pAlonzoOnwardsPParams :: Parser (AlonzoOnwardsPParams ledgerera) pAlonzoOnwardsPParams = AlonzoOnwardsPParams SNothing <$> convertToLedger (either (\e -> error $ "pAlonzoOnwardsPParams: " <> show e) id . toAlonzoPrices) - (optional $ pExecutionUnitPrices $ Just "new") - <*> convertToLedger toAlonzoExUnits (optional $ pMaxTxExecutionUnits $ Just "new") - <*> convertToLedger toAlonzoExUnits (optional $ pMaxBlockExecutionUnits $ Just "new") - <*> convertToLedger id (optional $ pMaxValueSize $ Just "new") - <*> convertToLedger id (optional $ pCollateralPercent $ Just "new") - <*> convertToLedger id (optional $ pMaxCollateralInputs $ Just "new") + (optional pExecutionUnitPrices) + <*> convertToLedger toAlonzoExUnits (optional pMaxTxExecutionUnits) + <*> convertToLedger toAlonzoExUnits (optional pMaxBlockExecutionUnits) + <*> convertToLedger id (optional pMaxValueSize) + <*> convertToLedger id (optional pCollateralPercent) + <*> convertToLedger id (optional pMaxCollateralInputs) pIntroducedInBabbagePParams :: Parser (IntroducedInBabbagePParams ledgerera) pIntroducedInBabbagePParams = IntroducedInBabbagePParams - <$> convertToLedger (CoinPerByte . toShelleyLovelace) (optional $ pUTxOCostPerByte $ Just "new") + <$> convertToLedger (CoinPerByte . toShelleyLovelace) (optional pUTxOCostPerByte) pIntroducedInConwayPParams :: Parser (IntroducedInConwayPParams ledgerera) pIntroducedInConwayPParams = IntroducedInConwayPParams - <$> convertToLedger id (optional $ pPoolVotingThresholds $ Just "new") - <*> convertToLedger id (optional $ pDRepVotingThresholds $ Just "new") - <*> convertToLedger id (optional $ pMinCommitteeSize $ Just "new") - <*> convertToLedger id (optional $ pCommitteeTermLength $ Just "new") - <*> convertToLedger id (optional $ pGovActionLifetime $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pGovActionDeposit $ Just "new") - <*> convertToLedger toShelleyLovelace (optional $ pDRepDeposit $ Just "new") - <*> convertToLedger id (optional $ pDRepActivity $ Just "new") + <$> convertToLedger id (optional pPoolVotingThresholds) + <*> convertToLedger id (optional pDRepVotingThresholds) + <*> convertToLedger id (optional pMinCommitteeSize) + <*> convertToLedger id (optional pCommitteeTermLength) + <*> convertToLedger id (optional pGovActionLifetime) + <*> convertToLedger toShelleyLovelace (optional pNewGovActionDeposit) + <*> convertToLedger toShelleyLovelace (optional pDRepDeposit) + <*> convertToLedger id (optional pDRepActivity) -- Not necessary in Conway era onwards pProtocolParametersUpdateGenesisKeys :: Parser [VerificationKeyFile In] @@ -353,7 +353,7 @@ pGovernanceActionTreasuryWithdrawalCmd era = do ( fmap Cmd.GovernanceActionTreasuryWithdrawalCmd $ Cmd.GovernanceActionTreasuryWithdrawalCmdArgs eon <$> pNetwork - <*> pGovActionDeposit Nothing + <*> pGovActionDeposit <*> pAnyStakeIdentifier (Just "deposit-return") <*> pProposalUrl <*> pProposalHashSource diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/DRep.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/DRep.hs index c05304c000..e185766927 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/DRep.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Governance/DRep.hs @@ -99,7 +99,7 @@ pRegistrationCertificateCmd era = do where mkParser w = GovernanceDRepRegistrationCertificateCmd w <$> pDRepVerificationKeyOrHashOrFile - <*> pKeyRegistDeposit Nothing + <*> pKeyRegistDeposit <*> pDRepMetadata <*> pOutputFile @@ -133,7 +133,7 @@ pRetirementCertificateCmd era = do $ Opt.info ( GovernanceDRepRetirementCertificateCmd w <$> pDRepVerificationKeyOrHashOrFile - <*> pDrepDeposit Nothing + <*> pDrepDeposit <*> pOutputFile ) $ Opt.progDesc "Create a DRep retirement certificate." diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/StakeAddress.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/StakeAddress.hs index 846a07d0fc..f972ee4e1c 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/StakeAddress.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/StakeAddress.hs @@ -91,7 +91,7 @@ pStakeAddressRegistrationCertificateCmd era = do $ Opt.info ( StakeAddressRegistrationCertificateCmd w <$> pStakeIdentifier - <*> optional (pKeyRegistDeposit Nothing) + <*> optional pKeyRegistDeposit <*> pOutputFile ) $ Opt.progDesc "Create a stake address registration certificate" @@ -115,7 +115,7 @@ pStakeAddressDeregistrationCertificateCmd era = do $ Opt.info ( StakeAddressDeregistrationCertificateCmd (conwayEraOnwardsToShelleyBasedEra conwayOnwards) <$> pStakeIdentifier - <*> fmap Just (pKeyRegistDeposit Nothing) + <*> fmap Just pKeyRegistDeposit <*> pOutputFile ) $ Opt.progDesc "Create a stake address deregistration certificate" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index 98d43bb84f..96349e0129 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -194,7 +194,7 @@ pStakeAddressCmds envCli = StakeAddressRegistrationCertificateCmd <$> pAnyShelleyBasedEra envCli <*> pStakeIdentifier - <*> optional (pKeyRegistDeposit Nothing) + <*> optional pKeyRegistDeposit <*> pOutputFile pStakeAddressDeregistrationCertificateCmd :: Parser LegacyStakeAddressCmds @@ -202,7 +202,7 @@ pStakeAddressCmds envCli = StakeAddressDeregistrationCertificateCmd <$> pAnyShelleyBasedEra envCli <*> pStakeIdentifier - <*> optional (pKeyRegistDeposit Nothing) + <*> optional pKeyRegistDeposit <*> pOutputFile pStakeAddressStakeDelegationCertificateCmd :: Parser LegacyStakeAddressCmds @@ -868,7 +868,7 @@ pGovernanceCmds envCli = <*> pEpochNoUpdateProp <*> some pGenesisVerificationKeyFile <*> pProtocolParametersUpdate - <*> optional (pCostModels $ Just "new") + <*> optional pCostModels pGovernanceCreatePoll :: Parser LegacyGovernanceCmds pGovernanceCreatePoll = diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index e346e65864..d569b4c629 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -143,8 +143,8 @@ hprop_golden_conway_governance_action_create_protocol_parameters_update = , "--stake-verification-key-file", stakeAddressVKeyFile , "--governance-action-deposit", "12345" , "--new-governance-action-deposit", "123454321" - , "--new-max-tx-size", "1234" - , "--new-cost-model-file", costModelsFile + , "--max-tx-size", "1234" + , "--cost-model-file", costModelsFile , "--out-file", actionFile ] diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs index f558a58070..7159784d56 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs @@ -103,28 +103,28 @@ hprop_golden_view_shelley_yaml = let void $ execCardanoCLI [ "legacy", "governance", "create-update-proposal" + , "--decentralization-parameter", "63/64" , "--epoch", "64" + , "--extra-entropy", extraEntropySeed , "--genesis-verification-key-file" , "test/cardano-cli-golden/files/input/shelley/keys/genesis_keys/verification_key" - , "--new-decentralization-parameter", "63/64" - , "--new-extra-entropy", extraEntropySeed - , "--new-key-reg-deposit-amt", "71" - , "--new-max-block-body-size", "72" - , "--new-max-block-header-size", "73" - , "--new-max-tx-size", "74" - , "--new-min-fee-constant", "75" - , "--new-min-fee-linear", "76" - , "--new-min-pool-cost", "77" - , "--new-min-utxo-value", "78" - , "--new-monetary-expansion", "79/80" - , "--new-number-of-pools", "80" - , "--new-pool-influence", "82/83" - , "--new-pool-reg-deposit", "83" - , "--new-pool-retirement-epoch-boundary", "84" - , "--new-protocol-major-version", "8" - , "--new-protocol-minor-version", "86" - , "--new-treasury-expansion", "87/88" + , "--key-reg-deposit-amt", "71" + , "--max-block-body-size", "72" + , "--max-block-header-size", "73" + , "--max-tx-size", "74" + , "--min-fee-constant", "75" + , "--min-fee-linear", "76" + , "--min-pool-cost", "77" + , "--min-utxo-value", "78" + , "--monetary-expansion", "79/80" + , "--number-of-pools", "80" , "--out-file", updateProposalFile + , "--pool-influence", "82/83" + , "--pool-reg-deposit", "83" + , "--pool-retirement-epoch-boundary", "84" + , "--protocol-major-version", "8" + , "--protocol-minor-version", "86" + , "--treasury-expansion", "87/88" ] -- Create transaction body @@ -288,14 +288,13 @@ hprop_golden_view_alonzo_yaml = , "--epoch", "190" , "--genesis-verification-key-file" , "test/cardano-cli-golden/files/input/shelley/keys/genesis_keys/verification_key" - , "--new-utxo-cost-per-word", "194" - , "--new-price-execution-steps", "195/196" - , "--new-price-execution-memory", "196/197" - , "--new-max-tx-execution-units", "(197, 198)" - , "--new-max-block-execution-units", "(198, 199)" - , "--new-max-value-size", "199" - , "--new-collateral-percent", "200" - , "--new-max-collateral-inputs", "201" + , "--price-execution-steps", "195/196" + , "--price-execution-memory", "196/197" + , "--max-tx-execution-units", "(197, 198)" + , "--max-block-execution-units", "(198, 199)" + , "--max-value-size", "199" + , "--collateral-percent", "200" + , "--max-collateral-inputs", "201" , "--out-file", updateProposalFile ] 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 a1078d0e64..2a2a91bff6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -329,26 +329,26 @@ Usage: cardano-cli shelley governance action create-protocol-parameters-update Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -1520,26 +1520,26 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -2709,26 +2709,26 @@ Usage: cardano-cli mary governance action create-protocol-parameters-update Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -3875,33 +3875,33 @@ Usage: cardano-cli alonzo governance action create-protocol-parameters-update Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-cost-model-file FILE] + [--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] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -5057,30 +5057,30 @@ Usage: cardano-cli babbage governance action create-protocol-parameters-update Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-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] + [--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-byte LOVELACE] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -6340,50 +6340,50 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update ) [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD32] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-pool-voting-threshold-motion-no-confidence RATIONAL - --new-pool-voting-threshold-committee-normal RATIONAL - --new-pool-voting-threshold-committee-no-confidence RATIONAL - --new-pool-voting-threshold-hard-fork-initiation RATIONAL] - [--new-drep-voting-threshold-motion-no-confidence RATIONAL - --new-drep-voting-threshold-committee-normal RATIONAL - --new-drep-voting-threshold-committee-no-confidence RATIONAL - --new-drep-voting-threshold-update-to-constitution RATIONAL - --new-drep-voting-threshold-hard-fork-initiation RATIONAL - --new-drep-voting-threshold-pp-network-group RATIONAL - --new-drep-voting-threshold-pp-economic-group RATIONAL - --new-drep-voting-threshold-pp-technical-group RATIONAL - --new-drep-voting-threshold-pp-governance-group RATIONAL - --new-drep-voting-threshold-treasury-withdrawal RATIONAL] - [--new-min-committee-size INT] - [--new-committee-term-length INT] - [--new-governance-action-lifetime NATURAL] + [--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] + [--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-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length INT] + [--governance-action-lifetime NATURAL] [--new-governance-action-deposit NATURAL] - [--new-drep-deposit LOVELACE] - [--new-drep-activity NATURAL] - [--new-cost-model-file FILE] + [--drep-deposit LOVELACE] + [--drep-activity NATURAL] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -7832,30 +7832,30 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-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] + [--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-byte LOVELACE] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -8841,36 +8841,35 @@ Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate Usage: cardano-cli legacy governance create-update-proposal --out-file FILE --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-decentralization-parameter RATIONAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--protocol-major-version NATURAL + --protocol-minor-version NATURAL] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy ] - [--new-max-block-header-size NATURAL] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-min-utxo-value NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-min-pool-cost NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-utxo-cost-per-word LOVELACE] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-file FILE] + [--max-block-header-size NATURAL] + [--max-block-body-size NATURAL] + [--max-tx-size NATURAL] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-boundary EPOCH_BOUNDARY] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion 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-byte LOVELACE] + [--cost-model-file FILE] Create an update proposal @@ -10151,36 +10150,35 @@ Usage: cardano-cli governance create-genesis-key-delegation-certificate Usage: cardano-cli governance create-update-proposal --out-file FILE --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-decentralization-parameter RATIONAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--protocol-major-version NATURAL + --protocol-minor-version NATURAL] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy ] - [--new-max-block-header-size NATURAL] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-min-utxo-value NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-min-pool-cost NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-utxo-cost-per-word LOVELACE] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-file FILE] + [--max-block-header-size NATURAL] + [--max-block-body-size NATURAL] + [--max-tx-size NATURAL] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-boundary EPOCH_BOUNDARY] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion 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-byte LOVELACE] + [--cost-model-file FILE] Create an update proposal diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli index 139f4e8ca3..4579b21872 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli @@ -1,25 +1,25 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -29,47 +29,43 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-min-utxo-value NATURAL - The minimum allowed UTxO value (Shelley to Mary + --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). - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-decentralization-parameter RATIONAL + --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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli index c2fc0f34b2..83508bd015 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli @@ -1,32 +1,32 @@ Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-cost-model-file FILE] + [--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] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -36,71 +36,66 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-decentralization-parameter RATIONAL + --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. - --new-price-execution-steps RATIONAL + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILE The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli index 7b090f7e39..6b840c956b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli @@ -1,29 +1,29 @@ Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-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] + [--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-byte LOVELACE] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -33,69 +33,65 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-price-execution-steps RATIONAL + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-utxo-cost-per-byte LOVELACE + --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILE The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli index 5168ebf62e..b4cfb87506 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli @@ -17,50 +17,50 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update ) [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD32] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-pool-voting-threshold-motion-no-confidence RATIONAL - --new-pool-voting-threshold-committee-normal RATIONAL - --new-pool-voting-threshold-committee-no-confidence RATIONAL - --new-pool-voting-threshold-hard-fork-initiation RATIONAL] - [--new-drep-voting-threshold-motion-no-confidence RATIONAL - --new-drep-voting-threshold-committee-normal RATIONAL - --new-drep-voting-threshold-committee-no-confidence RATIONAL - --new-drep-voting-threshold-update-to-constitution RATIONAL - --new-drep-voting-threshold-hard-fork-initiation RATIONAL - --new-drep-voting-threshold-pp-network-group RATIONAL - --new-drep-voting-threshold-pp-economic-group RATIONAL - --new-drep-voting-threshold-pp-technical-group RATIONAL - --new-drep-voting-threshold-pp-governance-group RATIONAL - --new-drep-voting-threshold-treasury-withdrawal RATIONAL] - [--new-min-committee-size INT] - [--new-committee-term-length INT] - [--new-governance-action-lifetime NATURAL] + [--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] + [--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-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length INT] + [--governance-action-lifetime NATURAL] [--new-governance-action-deposit NATURAL] - [--new-drep-deposit LOVELACE] - [--new-drep-activity NATURAL] - [--new-cost-model-file FILE] + [--drep-deposit LOVELACE] + [--drep-activity NATURAL] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -95,109 +95,103 @@ Available options: Txid of the previous governance action. --prev-governance-action-index WORD32 Action index of the previous governance action. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-price-execution-steps RATIONAL + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-utxo-cost-per-byte LOVELACE + --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). - --new-pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-motion-no-confidence RATIONAL TODO - --new-pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-normal RATIONAL TODO - --new-pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL TODO - --new-pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL TODO - --new-drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-motion-no-confidence RATIONAL TODO - --new-drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-normal RATIONAL TODO - --new-drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL TODO - --new-drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL TODO - --new-drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL TODO - --new-drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL TODO - --new-drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL TODO - --new-drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL TODO - --new-drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL TODO - --new-drep-voting-threshold-treasury-withdrawal RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL TODO - --new-min-committee-size INT + --min-committee-size INT TODO + --committee-term-length INT TODO - --new-committee-term-length INT - TODO - --new-governance-action-lifetime NATURAL + --governance-action-lifetime NATURAL TODO --new-governance-action-deposit NATURAL - Deposit required to submit a governance action. - --new-drep-deposit LOVELACE - TODO - --new-drep-activity NATURAL - TODO - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + Proposed new value of the deposit required to submit + a governance action. + --drep-deposit LOVELACE TODO + --drep-activity NATURAL TODO + --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILE The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli index 415fa9b4af..7f06d3c86a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli @@ -1,36 +1,35 @@ Usage: cardano-cli governance create-update-proposal --out-file FILE --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-decentralization-parameter RATIONAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--protocol-major-version NATURAL + --protocol-minor-version NATURAL] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy ] - [--new-max-block-header-size NATURAL] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-min-utxo-value NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-min-pool-cost NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-utxo-cost-per-word LOVELACE] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-file FILE] + [--max-block-header-size NATURAL] + [--max-block-body-size NATURAL] + [--max-tx-size NATURAL] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-boundary EPOCH_BOUNDARY] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion 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-byte LOVELACE] + [--cost-model-file FILE] Create an update proposal @@ -40,79 +39,70 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-decentralization-parameter RATIONAL + --decentralization-parameter RATIONAL Decentralization parameter. - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-min-fee-constant LOVELACE + --extra-entropy HEX Praos extra entropy seed, as a hex byte string. + --reset-extra-entropy Reset the Praos extra entropy to none. + --max-block-header-size NATURAL + Maximum block header size. + --max-block-body-size NATURAL + Maximal block body size. + --max-tx-size NATURAL Maximum transaction size. + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-min-utxo-value NATURAL - The minimum allowed UTxO value (Shelley to Mary + --min-utxo-value NATURAL The minimum allowed UTxO value (Shelley to Mary eras). - --new-key-reg-deposit-amt NATURAL + --key-reg-deposit-amt NATURAL Key registration deposit amount. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-utxo-cost-per-word LOVELACE - Cost in lovelace per unit of UTxO storage (from - Alonzo era). - --new-price-execution-steps RATIONAL + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-utxo-cost-per-byte LOVELACE + --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + --cost-model-file FILE Filepath of the JSON formatted cost model -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli index 62a259d2a1..42aab09a27 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli @@ -1,29 +1,29 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-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] + [--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-byte LOVELACE] + [--cost-model-file FILE] --out-file FILE Create a protocol parameters update. @@ -33,69 +33,65 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-price-execution-steps RATIONAL + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-utxo-cost-per-byte LOVELACE + --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILE The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli index 57e52231af..07ac6568d5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli @@ -1,36 +1,35 @@ Usage: cardano-cli legacy governance create-update-proposal --out-file FILE --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-decentralization-parameter RATIONAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--protocol-major-version NATURAL + --protocol-minor-version NATURAL] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy ] - [--new-max-block-header-size NATURAL] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-min-utxo-value NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-min-pool-cost NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-utxo-cost-per-word LOVELACE] - [--new-price-execution-steps RATIONAL - --new-price-execution-memory RATIONAL] - [--new-max-tx-execution-units (INT, INT)] - [--new-max-block-execution-units (INT, INT)] - [--new-max-value-size INT] - [--new-collateral-percent INT] - [--new-max-collateral-inputs INT] - [--new-utxo-cost-per-byte LOVELACE] - [--new-cost-model-file FILE] + [--max-block-header-size NATURAL] + [--max-block-body-size NATURAL] + [--max-tx-size NATURAL] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-boundary EPOCH_BOUNDARY] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion 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-byte LOVELACE] + [--cost-model-file FILE] Create an update proposal @@ -40,79 +39,70 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-decentralization-parameter RATIONAL + --decentralization-parameter RATIONAL Decentralization parameter. - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-min-fee-constant LOVELACE + --extra-entropy HEX Praos extra entropy seed, as a hex byte string. + --reset-extra-entropy Reset the Praos extra entropy to none. + --max-block-header-size NATURAL + Maximum block header size. + --max-block-body-size NATURAL + Maximal block body size. + --max-tx-size NATURAL Maximum transaction size. + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-min-utxo-value NATURAL - The minimum allowed UTxO value (Shelley to Mary + --min-utxo-value NATURAL The minimum allowed UTxO value (Shelley to Mary eras). - --new-key-reg-deposit-amt NATURAL + --key-reg-deposit-amt NATURAL Key registration deposit amount. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-utxo-cost-per-word LOVELACE - Cost in lovelace per unit of UTxO storage (from - Alonzo era). - --new-price-execution-steps RATIONAL + --price-execution-steps RATIONAL Step price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-price-execution-memory RATIONAL + --price-execution-memory RATIONAL Memory price of execution units for script languages that use them (from Alonzo era). (Examples: '1.1', '11/10') - --new-max-tx-execution-units (INT, INT) + --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). - --new-max-block-execution-units (INT, INT) + --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). - --new-max-value-size INT Max size of a multi-asset value in a tx output (from + --max-value-size INT Max size of a multi-asset value in a tx output (from Alonzo era). - --new-collateral-percent INT - The percentage of the script contribution to the + --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). - --new-max-collateral-inputs INT + --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --new-utxo-cost-per-byte LOVELACE + --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). - --new-cost-model-file FILE - Filepath of the JSON formatted cost model + --cost-model-file FILE Filepath of the JSON formatted cost model -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli index 754c683ba8..54eb7d40e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli @@ -1,25 +1,25 @@ Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -29,47 +29,43 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-min-utxo-value NATURAL - The minimum allowed UTxO value (Shelley to Mary + --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). - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-decentralization-parameter RATIONAL + --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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli index c8dd80091b..b0ee7db6cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli @@ -1,25 +1,25 @@ Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILE) - [--new-min-fee-constant LOVELACE] - [--new-min-fee-linear LOVELACE] - [--new-max-block-body-size NATURAL] - [--new-max-tx-size NATURAL] - [--new-max-block-header-size NATURAL] - [--new-key-reg-deposit-amt NATURAL] - [--new-pool-reg-deposit NATURAL] - [--new-pool-retirement-epoch-boundary EPOCH_BOUNDARY] - [--new-number-of-pools NATURAL] - [--new-pool-influence RATIONAL] - [--new-treasury-expansion RATIONAL] - [--new-monetary-expansion RATIONAL] - [--new-protocol-major-version NATURAL - --new-protocol-minor-version NATURAL] - [--new-min-pool-cost NATURAL] - [--new-min-utxo-value NATURAL] - [ --new-extra-entropy HEX - | --new-reset-extra-entropy + [--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 ] - [--new-decentralization-parameter RATIONAL] + [--decentralization-parameter RATIONAL] --out-file FILE Create a protocol parameters update. @@ -29,47 +29,43 @@ Available options: valid. --genesis-verification-key-file FILE Filepath of the genesis verification key. - --new-min-fee-constant LOVELACE + --min-fee-constant LOVELACE The constant factor for the minimum fee calculation. - --new-min-fee-linear LOVELACE + --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. - --new-max-block-body-size NATURAL - The maximal block body size. - --new-max-tx-size NATURAL - The maximum transaction size. - --new-max-block-header-size NATURAL - The minimum block header size. - --new-key-reg-deposit-amt NATURAL + --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. - --new-pool-reg-deposit NATURAL + --pool-reg-deposit NATURAL The amount of a pool registration deposit. - --new-pool-retirement-epoch-boundary EPOCH_BOUNDARY + --pool-retirement-epoch-boundary EPOCH_BOUNDARY Epoch bound on pool retirement. - --new-number-of-pools NATURAL + --number-of-pools NATURAL Desired number of pools. - --new-pool-influence RATIONAL + --pool-influence RATIONAL Pool influence. - --new-treasury-expansion RATIONAL + --treasury-expansion RATIONAL Treasury expansion. - --new-monetary-expansion RATIONAL + --monetary-expansion RATIONAL Monetary expansion. - --new-protocol-major-version NATURAL + --protocol-major-version NATURAL Major protocol version. An increase indicates a hard fork. - --new-protocol-minor-version NATURAL + --protocol-minor-version NATURAL Minor protocol version. An increase indicates a soft fork (old software canvalidate but not produce new blocks). - --new-min-pool-cost NATURAL - The minimum allowed cost parameter for stake pools. - --new-min-utxo-value NATURAL - The minimum allowed UTxO value (Shelley to Mary + --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). - --new-extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --new-reset-extra-entropy - Reset the Praos extra entropy to none. - --new-decentralization-parameter RATIONAL + --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