@@ -24,7 +24,7 @@ import Data.ByteString.Lazy.Char8 (pack)
24
24
import Data.String (fromString )
25
25
import qualified Data.Text as Text
26
26
import Data.Word (Word32 )
27
- import GHC.Stack (callStack )
27
+ import GHC.Stack (HasCallStack , callStack )
28
28
import Lens.Micro ((^?) )
29
29
import System.FilePath ((</>) )
30
30
@@ -47,7 +47,7 @@ import qualified Hedgehog.Extras.Stock.IO.Network.Sprocket as IO
47
47
-- @desiredNumberOfPools@ parameter) to check that it fails, when the first DRep votes "yes" and the
48
48
-- last two vote "no". Later we chack that if we change the stake holders under the DReps that vote
49
49
-- "no" to delegate to the automate "always abstain" DRep, the same kind of proposal passes.
50
- --
50
+ --
51
51
-- This test is meant to ensure that delegating to "always abstain" has the desired effect of
52
52
-- counting as abstaining for the stake delegated.
53
53
--
@@ -122,7 +122,7 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
122
122
wallet0 Nothing [(1 , " yes" )] newNumberOfDesiredPools2 newNumberOfDesiredPools2 2
123
123
124
124
delegateToAlwaysAbstain
125
- :: (MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m )
125
+ :: (HasCallStack , MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m )
126
126
=> H. ExecConfig
127
127
-> EpochStateView
128
128
-> FilePath
@@ -167,7 +167,7 @@ delegateToAlwaysAbstain execConfig epochStateView configurationFile socketPath s
167
167
void $ waitUntilEpoch (File configurationFile) (File socketPath) (EpochNo (epochAfterProp + 2 ))
168
168
169
169
desiredPoolNumberProposalTest
170
- :: (MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m , Foldable t )
170
+ :: (HasCallStack , MonadTest m , MonadIO m , H. MonadAssertion m , MonadCatch m , Foldable t )
171
171
=> H. ExecConfig
172
172
-> EpochStateView
173
173
-> FilePath
@@ -210,7 +210,7 @@ desiredPoolNumberProposalTest execConfig epochStateView configurationFile socket
210
210
return thisProposal
211
211
212
212
makeDesiredPoolNumberChangeProposal
213
- :: (H. MonadAssertion m , MonadTest m , MonadCatch m , MonadIO m )
213
+ :: (HasCallStack , H. MonadAssertion m , MonadTest m , MonadCatch m , MonadIO m )
214
214
=> H. ExecConfig
215
215
-> EpochStateView
216
216
-> NodeConfigFile 'In
0 commit comments