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

HFC: generalize cross era ticking #1295

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

amesgen
Copy link
Member

@amesgen amesgen commented Oct 28, 2024

Closes #345

Essentially a revived version of #358. Main difference/simplification is that this PR doesn't use WhetherTickedOrNot, but this requires careful thought.

@amesgen amesgen force-pushed the amesgen/hfc-general-cross-era-ticking branch 2 times, most recently from 47ed819 to aba5ef9 Compare October 31, 2024 10:37
amesgen and others added 3 commits November 11, 2024 12:49
This makes a few things more convenient in a follow-up commit, and should be
very easy for downstream users to adapt to.
A subsequent commit will remove the `InPairs` of `Translate`ions from
`CanHardFork`. Apart from their use in the HFC, they are also used for Cardano
to create initial non-Byron extended ledger states at Genesis.

This commit refactors this logic to no longer rely on `CanHardFork`, while being
semantically equivalent. See the added Note [Creating the initial extended
ledger state for Cardano] for details.
@amesgen amesgen force-pushed the amesgen/hfc-general-cross-era-ticking branch from aba5ef9 to a2e7828 Compare November 11, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

[FEAT] - Generalize how the HFC handles era transitions
1 participant