Skip to content
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 --exit-epoch flag to validator-manager #4303

Open
xenowits opened this issue May 17, 2023 · 7 comments
Open

Add --exit-epoch flag to validator-manager #4303

xenowits opened this issue May 17, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request val-client Relates to the validator client binary

Comments

@xenowits
Copy link

xenowits commented May 17, 2023

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

@michaelsproul
Copy link
Member

@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

@michaelsproul michaelsproul added the enhancement New feature or request label May 17, 2023
@michaelsproul
Copy link
Member

This may also be already implemented by #3502, I'm not sure.

@xenowits
Copy link
Author

This may also be already implemented by #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?

@michaelsproul
Copy link
Member

@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.

@xenowits
Copy link
Author

xenowits commented May 18, 2023

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 👍

@xenowits
Copy link
Author

@michaelsproul is the lighthouse validator-manager command released?

@michaelsproul
Copy link
Member

No, not yet. The PR hasn't merged to unstable yet

@michaelsproul michaelsproul changed the title Add --exit-epoch flag to account validator exit command Add --exit-epoch flag to validator-manager Sep 26, 2024
@michaelsproul michaelsproul added the val-client Relates to the validator client binary label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request val-client Relates to the validator client binary
Projects
None yet
Development

No branches or pull requests

3 participants