File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
cardano-cli/src/Cardano/CLI/EraBased/Genesis/Internal Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import Cardano.Api.Ledger qualified as L
1111
1212import Cardano.CLI.Byron.Genesis qualified as Byron
1313import Cardano.Crypto.ProtocolMagic qualified as Crypto
14+ import Cardano.Ledger.BaseTypes qualified as L
1415
1516import Data.Aeson (toJSON , (.=) )
1617import Data.Aeson qualified as Aeson
@@ -58,7 +59,7 @@ mkGenesisParameters numPools actualNetworkWord32 byronGenesisFp shelleyGenesis =
5859 byronPoolNumber = max 1 numPools -- byron genesis creation needs a >= 1 number of pools
5960 gpStartTime = Shelley. sgSystemStart shelleyGenesis
6061 gpProtocolParamsFile = byronGenesisFp
61- gpK = Byron. BlockCount 10
62+ gpK = Byron. BlockCount . L. unNonZero $ Shelley. sgSecurityParam shelleyGenesis
6263 protocolMagicId = Crypto. ProtocolMagicId actualNetworkWord32
6364 gpProtocolMagic = Crypto. AProtocolMagic (L. Annotated protocolMagicId () ) Crypto. RequiresMagic
6465 gpTestnetBalance =
You can’t perform that action at this time.
0 commit comments