Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement createByronUpdateProposal Reduce Babbage defaultTestnetOptions slot duration
- Loading branch information
Showing
6 changed files
with
51 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
|
||
module Testnet.Commands.Governance | ||
( createByronUpdateProposal | ||
) where | ||
|
||
import Prelude | ||
|
||
import Control.Monad.Catch | ||
import Control.Monad.IO.Class | ||
|
||
import Testnet.Util.Process (execCli_) | ||
|
||
import Hedgehog.Internal.Property | ||
|
||
|
||
createByronUpdateProposal | ||
:: (MonadTest m, MonadCatch m, MonadIO m) | ||
=> Int -> String -> String -> Int -> m () | ||
createByronUpdateProposal testnetMagic signingKeyFp updateProposalFp ptclMajorVersion = | ||
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" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters