-
Notifications
You must be signed in to change notification settings - Fork 22
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
Expose ledger types PParams
and PParamsUpdate
with support code
#191
Conversation
PParams
and PParamsUpdate
with support code
36b6726
to
4d0abff
Compare
protocolUpdateMinUTxOValue w = shelleyToAllegraEraConstraints w Ledger.ppuMinUTxOValueL | ||
|
||
-- | The deposit required to register a stake address. | ||
protocolUpdateStakeAddressDeposit :: ShelleyBasedEra era -> Lens' (Ledger.PParamsUpdate (ShelleyLedgerEra era)) (Ledger.StrictMaybe Ledger.Coin) |
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.
Where are these being used?
|
||
-- | The fraction of the fee pot each epoch that goes to the treasury. | ||
-- This is the \"tau\" incentives parameter from the design document. | ||
protocolParamTreasuryCutL :: ShelleyBasedEra era -> Lens' (Ledger.PParams (ShelleyLedgerEra era)) Ledger.UnitInterval |
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.
Same here, where are they being used?
-- ---------------------------------------------------------------------------- | ||
-- ToCardanoEra | ||
|
||
class ToCardanoEra (feature :: Type -> Type) where |
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.
And this? Where is this being used?
These are intended to be used by the CLI. |
e6770b8
to
c806e12
Compare
c806e12
to
d23eead
Compare
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. |
…-command-group Governance `drep` and `vote` command groups
Changelog
Context
This a a simplified version of #182 with all the refactoring,
newtype
wrapper andaeson
instances removed. The removed commits were mainly to facilitate the customaeson
instances which during discussions were determined to not be needed.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