Commit 2661930b authored by sandreim's avatar sandreim Committed by GitHub
Browse files

`relay chain selection` and `dispute-coordinator` fixes and improvements (#4752)



* Dont error in finality_target_with_longest_chain

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add error flag

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add error flag in dispute-coordinator

Make sure to send errors to subsystems requesting data depending on missing session info

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Scrape ancestors

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix naming

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* review feedback

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fmt

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* 💬

 fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* consume

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* typo

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* review fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Bump scraped blocks LRU capacity

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* 🧯 🔥



Signed-off-by: default avatarAndrei Sandu <[email protected]>

* remove prints

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Increase scraped blocks cache size

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* more review fixes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* another fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix target_ancestor

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Scrape up to max finalized block

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* undo comment change

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Limit ancestry lookup to last finalized block or
max finality lag

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* debug damage

Signed-off-by: default avatarAndrei Sandu <[email protected]>
parent 109f7309
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment