-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameterise Certificate
with era
#84
Conversation
b42a401
to
b4d5354
Compare
@@ -558,3 +560,13 @@ withShelleyBasedEraConstraintsForLedger = \case | |||
ShelleyBasedEraAlonzo -> id | |||
ShelleyBasedEraBabbage -> id | |||
ShelleyBasedEraConway -> id | |||
|
|||
cardanoEraConstraints :: CardanoEra era -> (Typeable era => IsCardanoEra era => a) -> a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to reconcile this with: getIsCardanoEraConstraint
=> CardanoEra era | ||
-> AsType (f era) | ||
-> TextEnvelopeType | ||
textEnvelopeTypeInEra _ = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The additional first argument (vs testEnvelopeType
) is for assisting type inference.
…r-messages Conway error messages
Description
Parameterise
Certificate
withera
Changelog
Checklist
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
If your PR is from a fork, the necessary CI jobs won't trigger automatically for security reasons.
You will need to get someone with write privileges. Please contact IOG node developers to do this
for you.