-
Notifications
You must be signed in to change notification settings - Fork 103
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
*: compounding flag #3520
*: compounding flag #3520
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## electra #3520 +/- ##
==========================================
Coverage ? 57.52%
==========================================
Files ? 218
Lines ? 33749
Branches ? 0
==========================================
Hits ? 19413
Misses ? 12292
Partials ? 2044 ☔ View full report in Codecov by Sentry. |
Sorry for not commenting at the appropriate parts of the code, but going to make some feedback/suggestions on your examples because they are convenient :) create cluster ... --deposit-amounts=64
Maybe hint to them how to fix it:
create cluster ... -- no amounts specified
This one actually made me change my mind on what i was about to say. I like doing the default of 32 and 1 0x01 creds, because its not a breaking change (why we're moving away from how it was in the electra branch), but new default of 1 extra eth deposit will still allow people to convert to 0x02 later, and have a (i hope) valid 0x01 deposit for it, so they can add ether to the validator in the lowest allowable increment later. I like it.
Can we rename entry/entries to deposit/deposits in all of the success logs?
Technically you can use the same deposit multiple times to get to the 32 eth minimum. We put the === 32 requirement as a sanity check, I guess we keep it? or do we go more permissive and just log a warning? (no strong feeling about either approach) |
Addressed all wording changes. Answered other questions internally. |
|
Added
--compounding
flag enabling compounding rewards for validators by using0x02
withdrawal credentials.When enabled,
create cluster|dkg
commands generate deposit datas with0x02
withdrawal credentials and the maximum deposit amount can be up to 2048ETH, otherwise0x01
withdrawal credentials are generated and the max amount is limited to 32ETH.Examples for various use cases:
create cluster ... --deposit-amounts=16
create cluster ... --deposit-amounts=64
create cluster ... --deposit-amounts=4,16,32
create cluster ... --deposit-amounts=16,16,16
create cluster ...
-- no amounts specifiedcreate cluster ... --compounding
-- no amounts specifiedcreate cluster ... --compounding --deposit-amounts=32
create cluster ... --compounding --deposit-amounts=8,4
create cluster ... --compounding --deposit-amounts=2049
category: feature
ticket: #3278