Skip to content

Commit

Permalink
Add haddock comments for argumetns in delegateToAlwaysNoConfidence
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed May 3, 2024
1 parent 4a04185 commit 566ac8c
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,17 +318,19 @@ makeUpdateConstitutionalCommitteeProposal execConfig epochStateView configuratio

return (governanceActionTxId, governanceActionIndex)

-- | Delegate to a staking key pair with the delegation preference set to always no confidence.
delegateToAlwaysNoConfidence
:: (MonadTest m, MonadIO m, H.MonadAssertion m, MonadCatch m, Typeable era, HasCallStack)
=> H.ExecConfig
-> EpochStateView
-> FilePath
-> FilePath
-> ShelleyBasedEra era
-> FilePath
-> String
-> PaymentKeyInfo
-> StakingKeyPair
=> H.ExecConfig -- ^ Specifies the CLI execution configuration.
-> EpochStateView -- ^ Current epoch state view for transaction building. It can be obtained
-- using the 'getEpochStateView' function.
-> FilePath -- ^ Path to the node configuration file as returned by 'cardanoTestnetDefault'.
-> FilePath -- ^ Path to the cardano-node unix socket file.
-> ShelleyBasedEra era -- ^ The Shelley based era witness for ConwayEra
-> FilePath -- ^ Base directory path where generated files will be stored.
-> String -- ^ Name for the subfolder that will be created under 'work' folder.
-> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
-> StakingKeyPair -- ^ Staking key pair used for delegation.
-> m ()
delegateToAlwaysNoConfidence execConfig epochStateView configurationFile socketPath sbe work prefix =
delegateToAutomaticDRep execConfig epochStateView configurationFile socketPath sbe work prefix
Expand Down

0 comments on commit 566ac8c

Please sign in to comment.