-
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
Remove LedgerPParams #219
Remove LedgerPParams #219
Conversation
@@ -15,6 +15,7 @@ | |||
{-# LANGUAGE TypeApplications #-} | |||
{-# LANGUAGE TypeFamilies #-} | |||
{-# LANGUAGE TypeOperators #-} | |||
{-# LANGUAGE UndecidableInstances #-} |
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.
Unfortunately because of: https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/8.6#undecidableinstances-is-pickier we would need this now for using type families in deriving clauses
@@ -1763,7 +1765,9 @@ data TxBodyContent build era = | |||
txGovernanceActions :: TxGovernanceActions era, | |||
txVotingProcedures :: Maybe (Featured ConwayEraOnwards era (VotingProcedures era)) | |||
} | |||
deriving (Eq, Show) | |||
|
|||
deriving instance (IsShelleyBasedEra era, Eq (Ledger.PParamsHKD Identity (ShelleyLedgerEra era))) => Eq (TxBodyContent build era) |
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 could create type alias for ledger constraints to avoid using them in the API directly.
This PR is stale because it has been open 45 days with no activity. |
This issue was closed because it has been stalled for 60 days with no activity. |
…titution-to-proposal-in-txbuild Change constitution to proposal in `transaction build`
Changelog
Context
An alternative version to: #218
Checklist
See Running tests for more details
.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