Skip to content
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

Conway genesis #2948

Closed
JaredCorduan opened this issue Aug 2, 2022 · 0 comments · Fixed by #2963 or #3499
Closed

Conway genesis #2948

JaredCorduan opened this issue Aug 2, 2022 · 0 comments · Fixed by #2963 or #3499

Comments

@JaredCorduan
Copy link
Contributor

JaredCorduan commented Aug 2, 2022

In light of CIP-1694, this issue needs to be redone, so I have re-opened this issue. The conway genesis will now need to supply whatever new protocol parameters are added to conway. See #3146 .

The new parameters are:

  • all the governance voting thresholds
  • constitutional committee term limits
  • governance action expiration
  • governance action deposit (govDeposit)
  • DRep deposit amount (drepDeposit)
  • DRep activity period (drepActivity)
  • minimal constitutional committee size
  • maximum term limit (in epochs) of the constitutional committee

Additionally, the interim constitutional committee (ie what was previouosly being called GenDelegs) will need to specify expirations (of the cold key) for each member.

(Below 👇 is the old issue)


Create a conway genesis type containing the governance map:

newtype ConwayGenesis crypto = ConwayGenesis (GenDelegs crypto)

and use this type as the translation context:

type instance TranslationContext (ConwayEra c) = ConwayGenesis

in the Cardano.Ledger.Conway.Translation module.

Lastly, use the conway translation context to replace the existing GenDelegs map inside of the DState type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
2 participants