Skip to content

Commit

Permalink
cardano-testnet: remove code that was dead before this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 22, 2024
1 parent 12b314f commit 05eefd4
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions cardano-testnet/src/Testnet/Start/Byron.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

module Testnet.Start.Byron
( createByronGenesis
, createByronUpdateProposal
, createByronUpdateProposalVote
, byronDefaultGenesisOptions
) where

Expand Down Expand Up @@ -65,36 +63,4 @@ createByronGenesis testnetMagic' startTime testnetOptions pParamFp genOutputDir
, "--avvm-balance-factor", "1"
, "--protocol-parameters-file", pParamFp
, "--genesis-output-dir", genOutputDir
]

createByronUpdateProposal
:: (MonadTest m, MonadCatch m, MonadIO m, HasCallStack)
=> Int -> String -> String -> Int -> m ()
createByronUpdateProposal testnetMagic' signingKeyFp updateProposalFp ptclMajorVersion =
withFrozenCallStack $ execCli_
[ "byron", "governance", "create-update-proposal"
, "--filepath", updateProposalFp
, "--testnet-magic", show testnetMagic'
, "--signing-key", signingKeyFp
, "--protocol-version-major", show ptclMajorVersion
, "--protocol-version-minor", "0"
, "--protocol-version-alt", "0"
, "--application-name", "cardano-sl"
, "--software-version-num", "1"
, "--system-tag", "linux"
, "--installer-hash", "0"
]

createByronUpdateProposalVote
:: (MonadTest m, MonadCatch m, MonadIO m, HasCallStack)
=> Int -> String -> String -> String -> m ()
createByronUpdateProposalVote testnetMagic' updateProposalFp signingKey outputFp =
withFrozenCallStack $ execCli_
[ "byron", "governance", "create-proposal-vote"
, "--proposal-filepath", updateProposalFp
, "--testnet-magic", show testnetMagic'
, "--signing-key", signingKey
, "--vote-yes"
, "--output-filepath", outputFp
]

]

0 comments on commit 05eefd4

Please sign in to comment.