-
Notifications
You must be signed in to change notification settings - Fork 809
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
[Merged by Bors] - Strict slashing protection by default #1750
Conversation
Ready for review. Now includes a tasty fail-fast feature that causes the VC to bail out early if the slashing protection database is misconfigured. 🤞 that all the tests pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, only one question.
@@ -32,8 +32,8 @@ pub struct Config { | |||
pub delete_lockfiles: bool, | |||
/// If true, don't scan the validators dir for new keystores. | |||
pub disable_auto_discover: bool, | |||
/// If true, don't re-register existing validators in definitions.yml for slashing protection. | |||
pub strict_slashing_protection: bool, | |||
/// If true, re-register existing validators in definitions.yml for slashing protection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this also register validators that didn't exist originally? Just checking this is worded accurately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little bit clunky, but I think it will register all validators from the validator definitions YAML, I'll earmark it for improvement in a subsequent PR, seeing as we're tight for time
Batch merging with #1743 bors r+ |
## Proposed Changes Replace `--strict-slashing-protection` by `--init-slashing-protection` and remove mentions of `--auto-register`
Pull request successfully merged into v0.3.0-staging. Build succeeded: |
Proposed Changes
Replace
--strict-slashing-protection
by--init-slashing-protection
and remove mentions of--auto-register