Skip to content

Commit

Permalink
Fix stake addres for test cluster setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Apr 20, 2021
1 parent 72ec7ec commit 61274ac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/shelley/src/Cardano/Wallet/Shelley/Launch/Cluster.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1366,11 +1366,18 @@ moveInstantaneousRewardsTo tr conn dir targets = do
mkMIRCertificate (pub, stakeVK, Coin reward) = do
let mirCert = dir </> pub <> ".mir"
stakeCert <- issueStakeCert tr dir pub stakeVK
stakeAddr <- cliLine tr
[ "stake-address"
, "build"
, "--mainnet"
, "--stake-verification-key-file" , stakeVK
]

cli tr
[ "governance", "create-mir-certificate"
, "--reserves"
, "--reward", show reward
, "--stake-verification-key-file", stakeVK
, "--stake-address", stakeAddr
, "--out-file", mirCert
]
pure [stakeCert, mirCert]
Expand Down

0 comments on commit 61274ac

Please sign in to comment.