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: Andronik Ordian <[email protected]>
parent
12e9e7ce
Please register or sign in to comment