We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If chain in a danger situation(corner case), it won't update any staking related data structures(minimum validator protection)
danger
crust/cstrml/staking/src/lib.rs
Lines 1512 to 1528 in d1977ad
Lines 1426 to 1433 in d1977ad
We can zip Stakers with Validators, remove those offline validator's staker
zip
Stakers
Validators
The text was updated successfully, but these errors were encountered:
badkk
mmyyrroonn
Successfully merging a pull request may close this issue.
Problem
If chain in a
danger
situation(corner case), it won't update any staking related data structures(minimum validator protection)crust/cstrml/staking/src/lib.rs
Lines 1512 to 1528 in d1977ad
However, we should not clear online validator's stakers, cause rewards based on staker(snapshot) status:
crust/cstrml/staking/src/lib.rs
Lines 1426 to 1433 in d1977ad
Proposal
We can
zip
Stakers
withValidators
, remove those offline validator's stakerThe text was updated successfully, but these errors were encountered: