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 anti-slashing defences via ValidatorManager #6665

Open
paulhauner opened this issue Dec 6, 2024 · 0 comments
Open

Add anti-slashing defences via ValidatorManager #6665

paulhauner opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@paulhauner
Copy link
Member

Description

I had a couple of ideas for additional anti-slashing measures. I’ve seen tooling that monitors a set of validators and kills VC processes if one of those validators get slashed. I believe we could implement similar functionality.

Our ValidatorMonitor already monitors slashings for a user-selected set of validators. We could extend this is one or more of the following ways:

  1. Stop producing attestations and blocks if one of those validators gets slashed.
  2. Open up a new endpoint on the BN that indicates if one of those has been slashed. The VC polls that endpoint and shuts down if there has been a slashing. This could be a candidate for a standard API, all BNs could watch for slashings on VCs that have used validator registration APIs.

In both of these cases I’d suggest writing a file to disk to prevent future startups. The user would manually delete that file once they’re confident the event is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant