-
Notifications
You must be signed in to change notification settings - Fork 795
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
Add voluntary exit via validator manager #6612
base: unstable
Are you sure you want to change the base?
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.
Looking good overall, just a few minor suggestions!
.value_name("NETWORK_ADDRESS") | ||
.help("Address to a beacon node HTTP API") | ||
.action(ArgAction::Set) | ||
.display_order(0), |
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.
We could add a conflicts_with
to make --beacon-node
and --presign
conflict? Users shouldn't be doing both.
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.
Added in b579d40
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.
Also added conflicts_with
for the flag --exit-epoch
and --beacon-node
, and that --exit-epoch
will require --presign
as I think having --exit-epoch
alone isn't meaningful.
Issue Addressed
--exit-epoch
flag to validator-manager #4303Proposed Changes
-Add voluntary exit feature to the validator manager
-Add delete all validators by using the keyword "all"
Additional Info
I reuse some code from the
lighthouse account validator exit
file:https://github.com/sigp/lighthouse/blob/stable/account_manager/src/validator/exit.rs
Thank you @michaelsproul for the help and guidance along the way