fix: cached balances in epoch transition - #7018
Conversation
|
I was looking into this issue as well. If I understand correctly, the reason why |
@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 |
* 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
processEffectiveBalanceUpdatesDescription
processPendingBalanceDepositsandprocessPendingConsolidationsprocessEffectiveBalanceUpdates