Skip to content

[Dijkstra] Change SNAP invocation in EPOCH to after ledger state update - #1313

Merged
carlostome merged 5 commits into
masterfrom
carlos/epoch-dijkstra
Sep 9, 2026
Merged

[Dijkstra] Change SNAP invocation in EPOCH to after ledger state update#1313
carlostome merged 5 commits into
masterfrom
carlos/epoch-dijkstra

Conversation

@carlostome

@carlostome carlostome commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

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.

  • Inline StakeDistrs record into RatifyEnv
  • Fix computational instance
  • Add prose explaining this change

Follows changes in cardano-ledger by IntersectMBO/cardano-ledger#5986

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • Any semantic changes to the specifications are documented in CHANGELOG.md
  • Code is formatted according to CONTRIBUTING.md
  • Self-reviewed the diff

@williamdemeo williamdemeo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, Carlos. Just a few minor suggestions for you to take or leave.

Comment thread src/Ledger/Dijkstra/Specification/Rewards/Properties/Computational.lagda.md Outdated
Comment thread src/Ledger/Dijkstra/Specification/Epoch.lagda.md Outdated
@carlostome
carlostome force-pushed the carlos/epoch-dijkstra branch from 98b300a to f23ce7d Compare September 9, 2026 10:58
@carlostome
carlostome enabled auto-merge (squash) September 9, 2026 11:12
@carlostome
carlostome merged commit 6106fdc into master Sep 9, 2026
10 checks passed
@carlostome
carlostome deleted the carlos/epoch-dijkstra branch September 9, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants