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.

@JaredCorduan JaredCorduan added this to To do in Conway via automation Aug 2, 2022
@JaredCorduan JaredCorduan moved this from To do to In progress in Conway Aug 8, 2022
@JaredCorduan JaredCorduan moved this from In progress to In review in Conway Aug 8, 2022
Conway automation moved this from In review to Done Aug 9, 2022
@JaredCorduan JaredCorduan reopened this Nov 18, 2022
Conway automation moved this from Done to In progress Nov 18, 2022
@JaredCorduan JaredCorduan moved this from In progress to To do in Conway Nov 18, 2022
@lehins lehins moved this from To do to In review in Conway Jul 18, 2023
@lehins lehins mentioned this issue Jul 18, 2023
9 tasks
Conway automation moved this from In review to Done Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Conway
  
Done
2 participants