@@ -123,15 +123,16 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
123
123
124
124
delegateToAlwaysAbstain
125
125
:: (HasCallStack , MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m )
126
- => H. ExecConfig
127
- -> EpochStateView
128
- -> FilePath
129
- -> FilePath
130
- -> ShelleyBasedEra ConwayEra
131
- -> FilePath
132
- -> String
133
- -> PaymentKeyInfo
134
- -> StakingKeyPair
126
+ => H. ExecConfig -- ^ Specifies the CLI execution configuration.
127
+ -> EpochStateView -- ^ Current epoch state view for transaction building. It can be obtained
128
+ -- using the 'getEpochStateView' function.
129
+ -> FilePath -- ^ Path to the node configuration file as returned by 'cardanoTestnetDefault'.
130
+ -> FilePath -- ^ Path to the cardano-node unix socket file.
131
+ -> ShelleyBasedEra ConwayEra -- ^ The Shelley-based era (e.g., 'ConwayEra') in which the transaction will be constructed.
132
+ -> FilePath -- ^ Base directory path where generated files will be stored.
133
+ -> String -- ^ Name for the subfolder that will be created under 'work' folder.
134
+ -> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
135
+ -> StakingKeyPair -- ^ Staking key pair used for delegation.
135
136
-> m ()
136
137
delegateToAlwaysAbstain execConfig epochStateView configurationFile socketPath sbe work prefix
137
138
payingWallet skeyPair@ (StakingKeyPair vKeyFile _sKeyFile) = do
@@ -168,19 +169,21 @@ delegateToAlwaysAbstain execConfig epochStateView configurationFile socketPath s
168
169
169
170
desiredPoolNumberProposalTest
170
171
:: (HasCallStack , MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m , Foldable t )
171
- => H. ExecConfig
172
- -> EpochStateView
173
- -> FilePath
174
- -> FilePath
175
- -> ConwayEraOnwards ConwayEra
176
- -> FilePath
177
- -> FilePath
178
- -> PaymentKeyInfo
179
- -> Maybe (String , Word32 )
180
- -> t (Int , String )
181
- -> Integer
182
- -> Integer
183
- -> Integer
172
+ => H. ExecConfig -- ^ Specifies the CLI execution configuration.
173
+ -> EpochStateView -- ^ Current epoch state view for transaction building. It can be obtained
174
+ -> FilePath -- ^ Path to the node configuration file as returned by 'cardanoTestnetDefault'.
175
+ -> FilePath -- ^ Path to the cardano-node unix socket file.
176
+ -> ConwayEraOnwards ConwayEra -- ^ The ConwaysEraOnwards witness for the Conway era
177
+ -> FilePath -- ^ Base directory path where generated files will be stored.
178
+ -> String -- ^ Name for the subfolder that will be created under 'work' folder.
179
+ -> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
180
+ -> Maybe (String , Word32 ) -- ^ The transaction identifier and index of the previous passed
181
+ -- governance action if any.
182
+ -> t (Int , String ) -- ^ Model of votes to issue as a list of pairs of amount of each vote
183
+ -- together with the vote (i.e: "yes", "no", "abstain")
184
+ -> Integer -- ^ What to change the @desiredPoolNumber@ to
185
+ -> Integer -- ^ What the expected result is of the change
186
+ -> Integer -- ^ How many epochs to wait before checking the result
184
187
-> m (String , Word32 )
185
188
desiredPoolNumberProposalTest execConfig epochStateView configurationFile socketPath ceo work prefix
186
189
wallet previousProposalInfo votes change expected epochsToWait = do
@@ -211,16 +214,18 @@ desiredPoolNumberProposalTest execConfig epochStateView configurationFile socket
211
214
212
215
makeDesiredPoolNumberChangeProposal
213
216
:: (HasCallStack , H. MonadAssertion m , MonadTest m , MonadCatch m , MonadIO m )
214
- => H. ExecConfig
215
- -> EpochStateView
216
- -> NodeConfigFile 'In
217
- -> SocketPath
218
- -> ConwayEraOnwards ConwayEra
219
- -> FilePath
220
- -> String
221
- -> Maybe (String , Word32 )
222
- -> Word32
223
- -> PaymentKeyInfo
217
+ => H. ExecConfig -- ^ Specifies the CLI execution configuration.
218
+ -> EpochStateView -- ^ Current epoch state view for transaction building. It can be obtained
219
+ -> NodeConfigFile 'In -- ^ Absolute path to the "configuration.yaml" file for the testnet
220
+ -- as returned by the 'cardanoTestnetDefault' function.
221
+ -> SocketPath -- ^ Path to the cardano-node unix socket file.
222
+ -> ConwayEraOnwards ConwayEra -- ^ The conway era onwards witness for the era in which the transaction will be constructed.
223
+ -> FilePath -- ^ Base directory path where generated files will be stored.
224
+ -> String -- ^ Name for the subfolder that will be created under 'work' folder.
225
+ -> Maybe (String , Word32 ) -- ^ The transaction identifier and index of the previous passed
226
+ -- governance action if any.
227
+ -> Word32 -- ^ What to change the @desiredPoolNumber@ to
228
+ -> PaymentKeyInfo -- ^ Wallet that will pay for the transaction.
224
229
-> m (String , Word32 )
225
230
makeDesiredPoolNumberChangeProposal execConfig epochStateView configurationFile socketPath
226
231
ceo work prefix prevGovActionInfo desiredPoolNumber wallet = do
0 commit comments