Skip to content

Commit

Permalink
Use getMinGovActionDeposit instead of hard-coded value
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Jan 8, 2025
1 parent 42e718e commit a8ffb12
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,14 @@ hprop_transaction_build_wrong_hash = integrationRetryWorkspace 2 "wrong-hash" $
( \port -> do
let execConfig' = addEnvVarsToConfig execConfig [("IPFS_GATEWAY_URI", "http://localhost:" ++ show port ++ "/")]

minDepositAmount <- getMinGovActionDeposit epochStateView ceo

void $
execCli'
execConfig'
[ eraName, "governance", "action", "create-info"
, "--testnet"
, "--governance-action-deposit", show @Int 1_000_000 -- TODO: Get this from the node
, "--governance-action-deposit", show minDepositAmount
, "--deposit-return-stake-verification-key-file", stakeVkeyFp
, "--anchor-url", "ipfs://" ++ proposalAnchorDataIpfsHash
, "--anchor-data-hash", tamperedHash
Expand Down

0 comments on commit a8ffb12

Please sign in to comment.