-
Notifications
You must be signed in to change notification settings - Fork 20
Refactor EPOCH into more conceptually related modules #964
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
Conversation
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.
All of my requested changes are minor nit-picks, so I'm approving. Feel free to pick and choose from my suggestions. Nice work!
src/Ledger/Conway/Specification/Epoch/Properties/Computational.agda
Outdated
Show resolved
Hide resolved
src/Ledger/Conway/Specification/Epoch/Properties/Computational.agda
Outdated
Show resolved
Hide resolved
src/Ledger/Conway/Specification/Epoch/Properties/Computational.agda
Outdated
Show resolved
Hide resolved
src/Ledger/Conway/Specification/Epoch/Properties/Computational.agda
Outdated
Show resolved
Hide resolved
src/Ledger/Conway/Specification/Epoch/Properties/Computational.agda
Outdated
Show resolved
Hide resolved
| Γ : 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 ⟧ |
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.
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.
Co-authored-by: William DeMeo <williamdemeo@gmail.com>
c43bc92 to
6fddcb1
Compare
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
CHANGELOG.md