Malus: improvements in `dispute ancestor` and `suggest garbage candidate` implementation (#5011)
* Implement fake validation results Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * refactor Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * cargo lock Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spell check Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spellcheck Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * typos Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * move stuff around Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * chores Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Impl valid - still wip Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Pull Ladi's implementation: https://github.com/paritytech/polkadot/pull/4711 Co-authored-by:
Lldenaurois <Ljdenaurois@gmail.com> Co-authored-by:
Andrei Sandu <andrei-mihail@parity.io> Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix build Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Logs and comments Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * WIP: suggest garbage candidate + implement validation result caching Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Do commitment hash checks in candidate validation Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Minor refactor in approval, backing, dispute-coord Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Working version of suggest garbage candidate Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Dedup Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * cleanup #1 Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * remove debug leftovers Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fmt Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Accidentally commited some local test Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spellcheck Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * some more fixes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Refactor and fix it Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * typo Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * tests review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * refactor disputer Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix zombienet disputes test Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * spellcheck Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix ui tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix typo Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> Co-authored-by:
Lldenaurois <Ljdenaurois@gmail.com>
Showing
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/cli/src/cli.rs 1 addition, 0 deletionspolkadot/cli/src/cli.rs
- polkadot/node/core/approval-voting/src/lib.rs 1 addition, 1 deletionpolkadot/node/core/approval-voting/src/lib.rs
- polkadot/node/core/backing/src/lib.rs 37 additions, 41 deletionspolkadot/node/core/backing/src/lib.rs
- polkadot/node/core/backing/src/tests.rs 18 additions, 11 deletionspolkadot/node/core/backing/src/tests.rs
- polkadot/node/core/candidate-validation/src/lib.rs 54 additions, 25 deletionspolkadot/node/core/candidate-validation/src/lib.rs
- polkadot/node/core/candidate-validation/src/tests.rs 85 additions, 7 deletionspolkadot/node/core/candidate-validation/src/tests.rs
- polkadot/node/core/dispute-coordinator/src/real/participation/mod.rs 4 additions, 14 deletions...de/core/dispute-coordinator/src/real/participation/mod.rs
- polkadot/node/core/dispute-coordinator/src/real/participation/tests.rs 12 additions, 9 deletions.../core/dispute-coordinator/src/real/participation/tests.rs
- polkadot/node/core/dispute-coordinator/src/real/tests.rs 45 additions, 10 deletionspolkadot/node/core/dispute-coordinator/src/real/tests.rs
- polkadot/node/malus/Cargo.toml 2 additions, 0 deletionspolkadot/node/malus/Cargo.toml
- polkadot/node/malus/src/malus.rs 7 additions, 5 deletionspolkadot/node/malus/src/malus.rs
- polkadot/node/malus/src/shared.rs 1 addition, 1 deletionpolkadot/node/malus/src/shared.rs
- polkadot/node/malus/src/variants/back_garbage_candidate.rs 16 additions, 180 deletionspolkadot/node/malus/src/variants/back_garbage_candidate.rs
- polkadot/node/malus/src/variants/common.rs 342 additions, 0 deletionspolkadot/node/malus/src/variants/common.rs
- polkadot/node/malus/src/variants/dispute_valid_candidates.rs 37 additions, 62 deletionspolkadot/node/malus/src/variants/dispute_valid_candidates.rs
- polkadot/node/malus/src/variants/mod.rs 5 additions, 2 deletionspolkadot/node/malus/src/variants/mod.rs
- polkadot/node/malus/src/variants/suggest_garbage_candidate.rs 201 additions, 96 deletions...adot/node/malus/src/variants/suggest_garbage_candidate.rs
- polkadot/node/overseer/examples/minimal-example.rs 7 additions, 2 deletionspolkadot/node/overseer/examples/minimal-example.rs
- polkadot/node/overseer/src/tests.rs 14 additions, 4 deletionspolkadot/node/overseer/src/tests.rs
Please register or sign in to comment