Skip to content

Add command for disabling all validator keys #2322

@michaelsproul

Description

@michaelsproul

Description

When moving between clients, it's nice to know that the old client will not return from the dead and start validating with keys that were just moved to a new client. To disable keys in Lighthouse currently requires the user either to move/delete them from disk manually (which causes a failure on startup) or edit the validator definitions file to contain enabled: false. I think we should provide a one-shot command like lighthouse account validator disable-all which sets the enabled: false flag for all validators.

This would be particularly useful if the validator client is configured to run on startup, or in some other auto-restart configuration, which was the cause of this user's slashing (on a testnet): https://www.reddit.com/r/ethstaker/comments/mzgubm/why_you_should_switch_to_lighthouse/gw17n8y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions