-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Desired outcome
With the disabling strategy in place (#784 (comment)) the actual disabling needs to be enforced by the runtime. This means that the runtime should ignore the following data from disabled validators:
- Availability bitfields -
polkadot-sdk/polkadot/primitives/src/v5/mod.rs
Line 1426 in 1e2a2f0
pub bitfields: UncheckedSignedAvailabilityBitfields, - Validity votes:
pub validity_votes: Vec<ValidityAttestation>, - Dispute statements:
polkadot-sdk/polkadot/primitives/src/v5/mod.rs
Line 1364 in 1e2a2f0
pub statements: Vec<(DisputeStatement, ValidatorIndex, ValidatorSignature)>,
When a validator is disabled
Each candidate has got a relay parent. If a validator is disabled at this relay parent, we consider the validator disabled in the context of the candidate.
So if a candidate is included at height A and B and validator X is disabled at height A but re-enabled at height B we will ignore its votes in the first case and count them in the latter.
How data filtering will work
All votes/statements will be filtered in
| fn process_inherent_data( |
Related to #784 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status