diff --git a/cabal.project b/cabal.project index 78564acb13..8d34ceba70 100644 --- a/cabal.project +++ b/cabal.project @@ -13,8 +13,8 @@ repository cardano-haskell-packages -- See CONTRIBUTING for information about these, including some Nix commands -- you need to run if you change them index-state: - , hackage.haskell.org 2024-12-23T00:00:00Z - , cardano-haskell-packages 2024-12-20T15:52:56Z + , hackage.haskell.org 2024-12-24T12:56:48Z + , cardano-haskell-packages 2025-01-15T09:59:24Z packages: cardano-cli @@ -36,7 +36,6 @@ if os(windows) constraints: time ^>=1.14 allow-newer: *:time -constraints: any.text source -- Depending on C++ for just so slightly faster utf8 parsing is a bit annoying -- especially as it brings in all kinds of complications for GHC. package text @@ -60,3 +59,4 @@ write-ghc-environment-files: always -- IMPORTANT -- Do NOT add more source-repository-package stanzas here unless they are strictly -- temporary! Please read the section in CONTRIBUTING about updating dependencies. + diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index 609cbc2a7a..6139f4be88 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -207,14 +207,14 @@ library binary, bytestring, canonical-json, - cardano-api ^>=10.5, + cardano-api ^>=10.6, cardano-binary, cardano-crypto, cardano-crypto-class ^>=2.1.2, cardano-crypto-wrapper ^>=1.5.1, cardano-data >=1.1, cardano-git-rev ^>=0.2.2, - cardano-ping ^>=0.5, + cardano-ping ^>=0.7, cardano-prelude, cardano-slotting ^>=0.2.0.0, cardano-strict-containers ^>=0.1, diff --git a/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs b/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs index 05854ca6ae..52d169d10a 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/Transaction.hs @@ -260,7 +260,8 @@ runCompatibleTransactionCmd signedTx <- firstExceptT CompatiblePParamsConversionError . hoistEither $ - createCompatibleSignedTx sbe ins allOuts allKeyWits fee protocolUpdates votes + -- FIXME https://github.com/IntersectMBO/cardano-cli/pull/972 + createCompatibleSignedTx sbe ins allOuts allKeyWits fee protocolUpdates votes TxCertificatesNone firstExceptT CompatibleFileError $ newExceptT $ diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 4864b42784..4d113ffa75 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -2922,12 +2922,12 @@ pEpochBoundRetirement = ] ] -pNumberOfPools :: Parser Natural +pNumberOfPools :: Parser Word16 pNumberOfPools = Opt.option integralReader $ mconcat [ Opt.long "number-of-pools" - , Opt.metavar "NATURAL" + , Opt.metavar "WORD16" , Opt.help "Desired number of pools." ] diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs index e819fae1c5..a71ef01145 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs @@ -815,7 +815,7 @@ updateOutputTemplate shelleyDelKeys = fromList - [ (gh, L.GenDelegPair gdh h) + [ (gh, L.GenDelegPair gdh $ L.toVRFVerKeyHash h) | ( GenesisKeyHash gh , (GenesisDelegateKeyHash gdh, VrfKeyHash h) ) <- @@ -1142,7 +1142,7 @@ updateTemplate shelleyDelKeys = fromList - [ (gh, L.GenDelegPair gdh h) + [ (gh, L.GenDelegPair gdh $ L.toVRFVerKeyHash h) | ( GenesisKeyHash gh , (GenesisDelegateKeyHash gdh, VrfKeyHash h) ) <- diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs index 13993b6f53..9d76ec511a 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis/CreateTestnetData.hs @@ -886,7 +886,7 @@ updateOutputTemplate L.Coin minUtxoVal = sgProtocolParams ^. L.ppMinUTxOValueL shelleyDelKeys = fromList - [ (gh, L.GenDelegPair gdh h) + [ (gh, L.GenDelegPair gdh $ L.toVRFVerKeyHash h) | ( GenesisKeyHash gh , (GenesisDelegateKeyHash gdh, VrfKeyHash h) ) <- diff --git a/cardano-cli/src/Cardano/CLI/Helpers.hs b/cardano-cli/src/Cardano/CLI/Helpers.hs index 9f7eb8deda..a0a3de0cba 100644 --- a/cardano-cli/src/Cardano/CLI/Helpers.hs +++ b/cardano-cli/src/Cardano/CLI/Helpers.hs @@ -116,7 +116,8 @@ validateCBOR :: CBORObject -> LB.ByteString -> Either HelpersError Text validateCBOR cborObject bs = case cborObject of CBORBlockByron epochSlots -> do - void $ decodeCBOR bs (L.toPlainDecoder L.byronProtVer (Byron.decCBORABlockOrBoundary epochSlots)) + void $ + decodeCBOR bs (L.toPlainDecoder Nothing L.byronProtVer (Byron.decCBORABlockOrBoundary epochSlots)) Right "Valid Byron block." CBORDelegationCertificateByron -> do void $ decodeCBOR bs (L.fromCBOR :: L.Decoder s Byron.Certificate) 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 740827f9a1..0e3ec11f59 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -517,7 +517,7 @@ Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH [--pool-reg-deposit NATURAL] [--min-pool-cost NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--monetary-expansion RATIONAL] [--treasury-expansion RATIONAL] @@ -1276,7 +1276,7 @@ Usage: cardano-cli shelley governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -2328,7 +2328,7 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -3378,7 +3378,7 @@ Usage: cardano-cli mary governance action create-protocol-parameters-update --ep [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -4420,7 +4420,7 @@ Usage: cardano-cli alonzo governance action create-protocol-parameters-update -- [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -5502,7 +5502,7 @@ Usage: cardano-cli babbage governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -6917,7 +6917,7 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -8939,7 +8939,7 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -10832,7 +10832,7 @@ Usage: cardano-cli compatible shelley governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -10946,7 +10946,7 @@ Usage: cardano-cli compatible allegra governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -11060,7 +11060,7 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters- [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -11182,7 +11182,7 @@ Usage: cardano-cli compatible alonzo governance action create-protocol-parameter [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -11317,7 +11317,7 @@ Usage: cardano-cli compatible babbage governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -11563,7 +11563,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] 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 42b3e61e17..9aa89d84f4 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 @@ -8,7 +8,7 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 6eae90afb6..28f020ac5b 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 @@ -8,7 +8,7 @@ Usage: cardano-cli alonzo governance action create-protocol-parameters-update -- [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -52,8 +52,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 5a140a9b5a..a212268b2e 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 @@ -8,7 +8,7 @@ Usage: cardano-cli babbage governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -49,8 +49,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli index 88687866c5..125597f9d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli @@ -8,7 +8,7 @@ Usage: cardano-cli compatible allegra governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli index e78f0baf6a..329e62c1ea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli @@ -8,7 +8,7 @@ Usage: cardano-cli compatible alonzo governance action create-protocol-parameter [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -52,8 +52,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli index 68eb821aaa..3ca137367b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli @@ -8,7 +8,7 @@ Usage: cardano-cli compatible babbage governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -49,8 +49,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli index a1bd2ee7de..c472ac20f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli @@ -23,7 +23,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -108,8 +108,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli index 3d9d92d209..68ad0e7195 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli @@ -8,7 +8,7 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters- [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli index a0d1a814c8..8f68bd20d9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli @@ -8,7 +8,7 @@ Usage: cardano-cli compatible shelley governance action create-protocol-paramete [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 d4a633da3c..838e7d72a9 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 @@ -23,7 +23,7 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -108,8 +108,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 c7b13712b7..4d14d87b4b 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 @@ -23,7 +23,7 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -108,8 +108,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 4ecbf10d0d..98e8309cd7 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 @@ -17,7 +17,7 @@ Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH [--pool-reg-deposit NATURAL] [--min-pool-cost NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--monetary-expansion RATIONAL] [--treasury-expansion RATIONAL] @@ -72,8 +72,7 @@ Available options: --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --monetary-expansion RATIONAL 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 58c0cab191..74834fc292 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 @@ -8,7 +8,7 @@ Usage: cardano-cli mary governance action create-protocol-parameters-update --ep [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL 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 cad82e01aa..ee18f8432a 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 @@ -8,7 +8,7 @@ Usage: cardano-cli shelley governance action create-protocol-parameters-update - [--key-reg-deposit-amt NATURAL] [--pool-reg-deposit NATURAL] [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] + [--number-of-pools WORD16] [--pool-influence RATIONAL] [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] @@ -45,8 +45,7 @@ Available options: The amount of a pool registration deposit. --pool-retirement-epoch-interval WORD32 Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. + --number-of-pools WORD16 Desired number of pools. --pool-influence RATIONAL Pool influence. --treasury-expansion RATIONAL diff --git a/flake.lock b/flake.lock index a1948e1c8b..1a52b082dd 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "CHaP": { "flake": false, "locked": { - "lastModified": 1734943824, - "narHash": "sha256-kcyysnPJbjdJOmtTldC08xj2Ttp2XcY6ecbYOYdwkmY=", + "lastModified": 1736937016, + "narHash": "sha256-dmLSu2SvSaTDjSE03cU6DwY62J3nWJbVhIn/kKtMwJg=", "owner": "intersectmbo", "repo": "cardano-haskell-packages", - "rev": "6ec767f1afd771816c5f3b383d0e1d3b577d72fe", + "rev": "045875beec586ff57a7333c0563fd5c2b1a308fa", "type": "github" }, "original": { @@ -173,11 +173,11 @@ "hackage": { "flake": false, "locked": { - "lastModified": 1735000115, - "narHash": "sha256-AD7eLqep078dAwEPbzOoDibBCeStIsR3E3duABV9ngI=", + "lastModified": 1736382484, + "narHash": "sha256-z1wBpMV1uqkZKCo4q4aXVwHcinYtwD0LHI5AEDtpnVA=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "fa91f38232daa08fb13ba1633d37b81ab3f6aef6", + "rev": "db572909cbd9ea2179284e594e04a0ec6e480ce0", "type": "github" }, "original": {