@@ -317,7 +317,7 @@ makeUpdateConstitutionalCommitteeProposal execConfig epochStateView configuratio
317
317
318
318
return (governanceActionTxId, governanceActionIndex)
319
319
320
- -- | Delegate to a staking key pair with the delegation preference set to always no confidence.
320
+ -- | Delegate a staking key pair to the automated no confidence DRep .
321
321
delegateToAlwaysNoConfidence
322
322
:: (MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m , HasCallStack )
323
323
=> H. ExecConfig -- ^ Specifies the CLI execution configuration.
@@ -335,19 +335,24 @@ delegateToAlwaysNoConfidence execConfig epochStateView configurationFile socketP
335
335
delegateToAutomaticDRep execConfig epochStateView configurationFile socketPath sbe work prefix
336
336
" --always-no-confidence"
337
337
338
+ -- Run a no confidence motion and check the result. Vote "yes" with 3 SPOs. Check the no
339
+ -- confidence motion passes.
338
340
testNoConfidenceProposal
339
341
:: (MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m , Foldable t , HasCallStack )
340
- => H. ExecConfig
341
- -> EpochStateView
342
- -> FilePath
343
- -> FilePath
344
- -> ConwayEraOnwards ConwayEra
345
- -> FilePath
346
- -> FilePath
347
- -> PaymentKeyInfo
348
- -> (String , Word32 )
349
- -> t (Int , String )
350
- -> Integer
342
+ => H. ExecConfig -- ^ Specifies the CLI execution configuration.
343
+ -> EpochStateView -- ^ Current epoch state view for transaction building. It can be obtained
344
+ -- using the 'getEpochStateView' function.
345
+ -> FilePath -- ^ Path to the node configuration file as returned by 'cardanoTestnetDefault'.
346
+ -> FilePath -- ^ Path to the cardano-node unix socket file.
347
+ -> ConwayEraOnwards ConwayEra -- ^ The Shelley based era witness for ConwayEra onwards.
348
+ -> FilePath -- ^ Base directory path where generated files will be stored.
349
+ -> String -- ^ Name for the subfolder that will be created under 'work' folder.
350
+ -> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
351
+ -> (String , Word32 ) -- ^ Tuple containing the preivous proposal transaction id and index.
352
+ -> t (Int , String ) -- ^ Model of DRep votes for proposal, list of pairs with an amount
353
+ -- of votes and the and type of vote (i.e: "yes", "no", or "abstain").
354
+ -> Integer -- ^ Epoch till which to wait before checking the result of the no
355
+ -- confidence proposal passes.
351
356
-> m (String , Word32 )
352
357
testNoConfidenceProposal execConfig epochStateView configurationFile socketPath ceo work prefix
353
358
wallet previousProposalInfo votes waitTillEpoch = do
0 commit comments