Commit 661d0ea5 authored by Kian Paimani's avatar Kian Paimani Committed by GitHub
Browse files

Store validator self-vote in bags-list, and allow them to be trimmed for election (#10821)



* Implement the new validator-in-bags-list scenario + migration

* Apply suggestions from code review

Co-authored-by: default avatarZeke Mostov <[email protected]>

* some review comments

* guard the migration

* some review comments

* Fix tests 🤦

‍♂️

* Fix build

* fix weight_of_fn

* reformat line width

* make const

* use weight of fn cached

* SortedListProvider -> VoterList

* Fix all build and docs

* check post migration

Co-authored-by: default avatarZeke Mostov <[email protected]>
parent e0cef349
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