Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to chill inactive validator #7128

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

aurexav
Copy link
Contributor

@aurexav aurexav commented Jan 13, 2025

Add a new extrinsic chill_inactive_validator and a new storage config ChillInactiveValidatorThreshold:

  • Anyone can call this function.
  • The validator's stash account should be provided.
  • The proof should be a list of consecutive sorted era indexes where the validator has
    not produced any blocks.
  • This will only be successful if the validator has not produced any blocks in ChillInactiveValidatorThreshold consecutive eras.
  • If the ChillInactiveValidatorThreshold is not set, it will fallback to Config::HistoryDepth. It's almost the same as current on-chain logic. The inactive validator is almost impossible to be chilled by others, unless it missed 84 eras.

Closes #5674.


Polkadot address: 156HGo9setPcU2qhFMVWLkcmtCEGySLwNqa3DaEiYSWtte4Y

Signed-off-by: Xavier Lau <x@acg.box>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Staking Elections: Consider removing validators with no points
1 participant