[Dijkstra] Change SNAP invocation in EPOCH to after ledger state update - #1313
Merged
Conversation
carlostome
force-pushed
the
carlos/epoch-dijkstra
branch
from
September 7, 2026 13:51
efe20f2 to
98b300a
Compare
williamdemeo
approved these changes
Sep 9, 2026
williamdemeo
left a comment
Member
There was a problem hiding this comment.
Nice work, Carlos. Just a few minor suggestions for you to take or leave.
- Inline `StakeDistrs` record into RatifyEnv - Fix computational instance - Add prose explaining this change
carlostome
force-pushed
the
carlos/epoch-dijkstra
branch
from
September 9, 2026 10:58
98b300a to
f23ce7d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR changes the order of updates in the EPOCH rule wrt snapshotting. In particular, the snap shot is moved to the end of the rule after the ledger state has been updated. In addition, the stake distribution used in RATIFY uses the updated ledger state.
StakeDistrsrecord into RatifyEnvFollows changes in
cardano-ledgerby IntersectMBO/cardano-ledger#5986Checklist
CHANGELOG.md