-
Notifications
You must be signed in to change notification settings - Fork 261
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
Node should exit with a unique code on first slashing #6754
Comments
How beacon node should detect the slashing? |
Multiple possible approaches:
Hooking into Monitoring the Ultimately the one point in the architectural flow is the third option, monitoring the |
In this case what should be done by VC? |
I'm not sure the VC has a role in this -- it's fundamentally something that involves tracking the block application/state transition process. That's not to say it can't work with VC validators: it can, in the same way as any other feature which needs to know which validators are relevant to the BN, e.g., by using |
Is your feature request related to a problem? Please describe.
Currently if a slashing occurs for one of the attached validators the node continues to run. I consider this behavior as inviting further slashings.
Describe the solution you'd like
The same way doppelganger detection returns a unique
129
exit code, so should the node the node exit - possibly with another code, like 130 - on first detected slashing. This is done in order to prevent any additional slashings.Describe alternatives you've considered
None.
Additional context
The recent wave of slashings on mainnet that spanned a period of 10 hours shows that even bigger operators can fail to detect a slashing even in their setup and fail to prevent additional slashing if no engineer is available to stop the nodes.
I see no benefit in the node continuing to run after the first slashing, only great risk.
The text was updated successfully, but these errors were encountered: