Skip to content

Commit

Permalink
Improved the error messages when a Spec fails.
Browse files Browse the repository at this point in the history
The function explainSpec no longer drops explanations.
Added guardTypeSpec, which catches errors earlier, so there is less noise.
  • Loading branch information
TimSheard committed Nov 6, 2024
1 parent 78b20b6 commit f4a840b
Show file tree
Hide file tree
Showing 5 changed files with 1,074 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class
where
irewardSpec :: Term fn AccountState -> Specification fn (InstantaneousRewards (EraCrypto era))
hasPtrs :: proxy era -> Term fn Bool

correctTxOut ::
Term fn (Map (Credential 'Staking (EraCrypto era)) (KeyHash 'StakePool (EraCrypto era))) ->
Term fn (TxOut era) ->
Expand Down
Loading

0 comments on commit f4a840b

Please sign in to comment.