-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
chore: clean up single-used functions in Electra #7132
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## nc/devnet-4 #7132 +/- ##
===============================================
- Coverage 49.11% 49.01% -0.11%
===============================================
Files 598 596 -2
Lines 39879 39790 -89
Branches 2087 2059 -28
===============================================
- Hits 19588 19502 -86
+ Misses 20250 20247 -3
Partials 41 41 |
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.
most of the changes here are duplicated in #7131
Ready for review now |
03a2ec7
to
eb51e29
Compare
eb51e29
to
a37f85f
Compare
pubkey: validator.pubkey, | ||
withdrawalCredentials: validator.withdrawalCredentials, | ||
amount: balance, | ||
signature: new Uint8Array(G2_POINT_AT_INFINITY), |
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.
this seems like an unnecessary conversion
we should probably convert everything to Uint8Array here as well
https://github.com/ChainSafe/lodestar/blob/unstable/packages/state-transition/src/constants/constants.ts#L1
🎉 This PR is included in v1.23.0 🎉 |
v1.5.0-alpha.7
includes several clean ups on the specs. Majority of them are removing definitions of single-used functions.Remove:
getActiveBalance
queueEntireBalanceAndResetValidator
getMaxEffectiveBalance
upgradeStateToElectraOriginal
Waiting for alpha 7 feature PRs to be merged.