-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
I6-metaA specific issue for grouping tasks or bugs of a specific category.A specific issue for grouping tasks or bugs of a specific category.
Description
Once a dispute is concluded and an offence is submitted with DisableStrategy::Always, a validator will be added to DisabledValidators list.
Implement on-chain and off-chain logic to ignore dispute votes for X sessions. Optionally, we can ignore backing and approval votes and remove from the reserved validator set on the network level.
- Gather requirements across stack
- Design unified disabling strategy (Guide Update with all considerations #1961)
- Track disabled validators Disabled Validators Runtime API #2950
- Read disabled status from the runtime and apply on node side, for ignoring votes for example in dispute-coordinator.
- Validator disabling in
statement-distributionsubsystem #1591 statement-distribution: validator disabling #1841 - Enforce validator disabling in the runtime #1592 Filter votes from disabled validators in
BackedCandidatesin process_inherent_data #1863 - dispute-coordinator - Disablement: Dispute participation disabling #2225
- Validator disabling in
- Make disabled state persisted for full era (to avoid repeated slashes)
- Remove I am online slash
- No chilling: Validators should get re-elected as long as they have enough stake
- Handle validators of previous era correctly in disputes
- Implement re-enabling
- Testing
- Provide tooling and instruct validators to monitor for slash events, so we can expect honest operators to react quickly to issues. (Within an era.)
- Cleanup tasks
Possibly related paper here.
Goals for new validator disabling/Definition of Done
- Not affecting consensus - disabling can never become a security threat.
- Handling broken validators nicely (prevent continuous spam).
- Plays well with existing disabling in substrate
- Makes sure to never break.
- (Consequence of the above): We can enable slashing - safe and securely.
Timeline
As quickly as possible, definitely by the end of the year.
burdges
Metadata
Metadata
Assignees
Labels
I6-metaA specific issue for grouping tasks or bugs of a specific category.A specific issue for grouping tasks or bugs of a specific category.
Type
Projects
Status
Completed