Skip to content
Commit cddd5749 authored by Andrei Sandu's avatar Andrei Sandu Committed by GitHub
Browse files

Malus: improvements in `dispute ancestor` and `suggest garbage candidate` implementation (#5011)



* Implement fake validation results

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

* refactor

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

* cargo lock

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

* spell check

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

* spellcheck

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

* typos

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

* Review feedback

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

* move stuff around

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

* chores

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

* Impl valid - still wip

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

* fixes

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

* fmt

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

* Pull Ladi's implementation:
https://github.com/paritytech/polkadot/pull/4711

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

* Fix build

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

* Logs and comments

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

* WIP: suggest garbage candidate + implement validation result caching

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

* fix

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

* Do commitment hash checks in candidate validation

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

* Minor refactor in approval, backing, dispute-coord

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

* Working version of suggest garbage candidate

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

* Dedup

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

* cleanup #1

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

* Fix tests

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

* remove debug leftovers

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

* fmt

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

* Accidentally commited some local test

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

* spellcheck

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

* some more fixes

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

* Refactor and fix it

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

* review feedback

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

* typo

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

* tests review feedback

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

* refactor disputer

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

* fix tests

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

* Fix zombienet disputes test

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

* spellcheck

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

* fix

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

* Fix ui tests

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

* fix typo

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

Co-authored-by: default avatarLldenaurois <[email protected]>
parent a46237ce
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