Skip to content

Conversation

@carlostome
Copy link
Collaborator

@carlostome carlostome commented Oct 23, 2025

Description

This PR refactors the EPOCHUpdates modules used in the EPOCH transition system in smaller bits.

In particular, it does so around those updates which occur before the POOLREAP transition system and after.

It subsumes the changes to EPOCH in #941.
It subsumes the change to Acnt in #961 (and hence closes #960).

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

Copy link
Member

@williamdemeo williamdemeo left a comment

Choose a reason for hiding this comment

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

All of my requested changes are minor nit-picks, so I'm approving. Feel free to pick and choose from my suggestions. Nice work!

Γ : RatifyEnv
Γ = ⟦ stakeDistrs , e , DRepsOf ls , CCHotKeysOf ls , TreasuryOf acnt , PoolsOf ls , VoteDelegsOf ls ⟧
Γ = ⟦ stakeDistrs , e , DRepsOf ls , CCHotKeysOf ls , TreasuryOf acnt'' , PoolsOf ls , VoteDelegsOf ls ⟧
Copy link
Member

Choose a reason for hiding this comment

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

The improved organization is helpful, but tbh, I still think it's hard to tell whether no prime, single prime, or double prime is correct in each case. Part of the problem, imho, is the use of private variables for things like ls and fut and fut'. In situations like this, with tons of variables floating around, private variables have an "appear as if from nowhere" vibe.

@carlostome carlostome force-pushed the carlos/refactor-epoch branch from c43bc92 to 6fddcb1 Compare October 24, 2025 09:41
@carlostome carlostome merged commit f2c6862 into master Oct 24, 2025
12 of 14 checks passed
@carlostome carlostome deleted the carlos/refactor-epoch branch October 24, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Acnt passed to RATIFY in EPOCH does not contain donations

3 participants