Dispute coordinator: look for included candidates in non-finalized chain (#4508)
* Fetch ancestors of the activated leaf
* Replace param type
* Increase step size
* Request block numbers for ancestors
* Store activated leaves in lru cache
* Fix doc-comment
* Rework LRU usage
* Typos & formatting
* Handle errors better
* Introduce a size limit for the ancestry
* Return fatal error when fetching finalized block
* Update tests
* Add tests for ordering provider
* Better naming
* fix zombienet test, new version
* zombienet add debug
* debug zombienet
Co-authored-by:
Javier Viola <javier@parity.io>
Showing
- polkadot/.gitlab-ci.yml 3 additions, 2 deletionspolkadot/.gitlab-ci.yml
- polkadot/Cargo.lock 1 addition, 0 deletionspolkadot/Cargo.lock
- polkadot/node/core/dispute-coordinator/Cargo.toml 1 addition, 0 deletionspolkadot/node/core/dispute-coordinator/Cargo.toml
- polkadot/node/core/dispute-coordinator/src/real/error.rs 4 additions, 4 deletionspolkadot/node/core/dispute-coordinator/src/real/error.rs
- polkadot/node/core/dispute-coordinator/src/real/ordering/mod.rs 136 additions, 19 deletions...ot/node/core/dispute-coordinator/src/real/ordering/mod.rs
- polkadot/node/core/dispute-coordinator/src/real/ordering/tests.rs 271 additions, 97 deletions.../node/core/dispute-coordinator/src/real/ordering/tests.rs
- polkadot/node/core/dispute-coordinator/src/real/tests.rs 18 additions, 2 deletionspolkadot/node/core/dispute-coordinator/src/real/tests.rs
Please register or sign in to comment