Revert chain if at least f+1 validators voted against a candidate (#7151)
* Make `issue_explicit_statement_with_index` regular function * Make `issue_backing_statement_with_index` regular function * Issue `RevertBlocks` as soon as a dispute has `byzantine threshold + 1` invalid votes. * Remove a comment * Fix `has_fresh_byzantine_threshold_against()` * Extend `informs_chain_selection_when_dispute_concluded_against` test
Showing
- polkadot/node/core/dispute-coordinator/src/import.rs 26 additions, 7 deletionspolkadot/node/core/dispute-coordinator/src/import.rs
- polkadot/node/core/dispute-coordinator/src/initialized.rs 1 addition, 1 deletionpolkadot/node/core/dispute-coordinator/src/initialized.rs
- polkadot/node/core/dispute-coordinator/src/tests.rs 141 additions, 127 deletionspolkadot/node/core/dispute-coordinator/src/tests.rs
Please register or sign in to comment