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>
This commit is contained in:
Chris Sosnin
2021-12-17 14:07:28 +03:00
committed by GitHub
parent 1eefce2aa9
commit 8b1514862d
7 changed files with 435 additions and 125 deletions
+1
View File
@@ -6276,6 +6276,7 @@ dependencies = [
"futures 0.3.18",
"kvdb",
"kvdb-memorydb",
"lru 0.7.0",
"parity-scale-codec",
"polkadot-node-primitives",
"polkadot-node-subsystem",