-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
fix: cached balances in epoch transition #7018
Conversation
I was looking into this issue as well. If I understand correctly, the reason why |
packages/state-transition/src/epoch/processEffectiveBalanceUpdates.ts
Outdated
Show resolved
Hide resolved
@ensi321 yes it is, but I wasn't able to confirm through spec test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## electra-fork-rebasejul30 #7018 +/- ##
============================================================
- Coverage 49.37% 49.36% -0.02%
============================================================
Files 589 589
Lines 39137 39151 +14
Branches 2235 2238 +3
============================================================
+ Hits 19325 19327 +2
- Misses 19771 19783 +12
Partials 41 41 |
Looks like spec test is still passing when introducing back
I ran unstable:
electra-fork-rebasejul30:
te/cached_balances
Suffice to say in this PR |
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.
lgtm
* fix: update cached balances in epoch transition * fix: more comments in processEffectiveBalanceUpdates()
* fix: update cached balances in epoch transition * fix: more comments in processEffectiveBalanceUpdates()
* fix: update cached balances in epoch transition * fix: more comments in processEffectiveBalanceUpdates()
🎉 This PR is included in v1.22.0 🎉 |
Motivation
processEffectiveBalanceUpdates
Description
processPendingBalanceDeposits
andprocessPendingConsolidations
processEffectiveBalanceUpdates