Open
Description
Description
This is a feature request to add an --exit-epoch
flag to the lighthouse 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
- Add a new flag
--exit-epoch
to https://github.com/sigp/lighthouse/blob/stable/account_manager/src/validator/exit.rs. - Modify
publish_voluntary_exit()
function to use theepoch
provided above (if any).