Open xenowits opened 1 year ago
@xenowits As a workaround, try using the keymanager API for exits: https://ethereum.github.io/keymanager-APIs/?urls.primaryName=dev#/Voluntary%20Exit/signVoluntaryExit
Info on setting up the Lighthouse VC API can be found here: https://lighthouse-book.sigmaprime.io/api-vc.html
This may also be already implemented by https://github.com/sigp/lighthouse/pull/3502, I'm not sure.
This may also be already implemented by https://github.com/sigp/lighthouse/pull/3502, I'm not sure.
Thanks for the workaround!
But, do you think it is feasible to introduce this feature or are there some limitations?
@xenowits It's definitely feasible. The lighthouse validator-manager
is a new CLI that uses the API, so it would be super easy to include it there. We could also add it to the existing CLI easily enough, but would probably move people towards the validator-manager long term.
okay, so the validator-manager
is a new CLI feature that is not yet released i suppose?
Yeah, this subcommand would be cool to use for exits then 👍
@michaelsproul is the lighthouse validator-manager
command released?
No, not yet. The PR hasn't merged to unstable yet
Description
This is a feature request to add an
--exit-epoch
flag to thelighthouse account validator exit
command.This feature allows the user to set a specific epoch for the voluntary exit. It is supported by other validator clients such as teku, lodestar and nimbus.
Version
None.
Present Behaviour
Currently, a user can't specify the desired epoch to exit and the lighthouse VC broadcasts exit message with the current epoch.
Expected Behaviour
The validator client should allow a user to set a desired exit epoch.
Steps to resolve
--exit-epoch
to https://github.com/sigp/lighthouse/blob/stable/account_manager/src/validator/exit.rs.publish_voluntary_exit()
function to use theepoch
provided above (if any).