-
Notifications
You must be signed in to change notification settings - Fork 86
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
Hard fork history #1698
Hard fork history #1698
Conversation
8167453
to
9569ed8
Compare
I don't know why I closed this, this is not the branch that I'm replacing. |
#1700 is the one I intended to close. |
10c910a
to
a63a16e
Compare
ouroboros-consensus/ouroboros-consensus-mock/src/Ouroboros/Consensus/Mock/Ledger/Block.hs
Show resolved
Hide resolved
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.
Reviewed in a meet.
a63a16e
to
c698281
Compare
Ok, this took way too long (nearly midnight now), but really rather happy with the result, quite proud of it. Both the implementation and its tests are quite nice: we generate a random |
bors r+ |
Incidentally, here are the tests running 100k tests, first generating an arbitrary
|
This introduces the hard fork history, with records changing slot lengths and epoch sizes across hard fork boundaries, and derives
EpochInfo
andBlockchainTime
from this.This PR paves the way for (but does not yet close) #1637 and #1205.