Skip to content
Snippets Groups Projects
Commit 7e5c022a authored by André Silva's avatar André Silva Committed by GitHub
Browse files

staking: only disable slashed validators and keep them disabled for whole era (#9448)


* session: remove disabled validators threshold logic

* staking: add logic to track offending validators

* staking: disable validators for the whole era

* frame: fix tests

* staking: add tests for disabling validators handling

* staking: fix adding offending validator when already slashed in era

* address review comments

* session, staking: add comments about sorted vecs

Co-authored-by: default avatarAndronik Ordian <write@reusable.software>
parent 12e9e7ce
No related merge requests found
Showing
with 63 additions and 110 deletions
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