Skip to content

Commit

Permalink
Add HasCallStack constraint to delegateToAlwaysNoConfidence and `te…
Browse files Browse the repository at this point in the history
…stNoConfidenceProposal`
  • Loading branch information
palas committed May 3, 2024
1 parent df1fbd1 commit 99fb0ac
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import qualified Data.Map as Map
import Data.String (fromString)
import qualified Data.Text as Text
import Data.Word (Word32)
import GHC.Stack (callStack)
import GHC.Stack (callStack, HasCallStack)
import Lens.Micro ((^.))
import System.FilePath ((</>))

Expand Down Expand Up @@ -318,7 +318,7 @@ makeUpdateConstitutionalCommitteeProposal execConfig epochStateView configuratio
return (governanceActionTxId, governanceActionIndex)

delegateToAlwaysNoConfidence
:: (MonadTest m, MonadIO m, H.MonadAssertion m, MonadCatch m)
:: (MonadTest m, MonadIO m, H.MonadAssertion m, MonadCatch m, HasCallStack)
=> H.ExecConfig
-> EpochStateView
-> FilePath
Expand All @@ -334,7 +334,7 @@ delegateToAlwaysNoConfidence execConfig epochStateView configurationFile socketP
"--always-no-confidence"

testNoConfidenceProposal
:: (MonadTest m, MonadIO m, H.MonadAssertion m, MonadCatch m, Foldable t)
:: (MonadTest m, MonadIO m, H.MonadAssertion m, MonadCatch m, Foldable t, HasCallStack)
=> H.ExecConfig
-> EpochStateView
-> FilePath
Expand Down

0 comments on commit 99fb0ac

Please sign in to comment.