-
Notifications
You must be signed in to change notification settings - Fork 123
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
Debug: slash exception from upgrade ChainX v4.0.0 #616
Comments
Im still getting slashed after upgrade to v4.1.1 |
ChainX mainnet is OK now, and you can
|
It is slashing and i;m loosing 1 pcx everytimne it happens. |
Are you DOZENODES? |
|
Issue:
Since ChainX has been upgraded to v4.0.0 (runtime 11 -> 12), many validators have been slashed for no reason
Analyze:
Before the end of each session, pallet-im-online will submit offline validators to xstaking, and they will all be slashed. There are two conditions for pallet-im-online to determine whether the validator is online:
We also notice that the node that should be slashed is not slashed
Root Cause:
we tracked this pr
Force the validators in the waiting list to run an authority node
the
XStaking::active_validator_set().collect()
returnvalidators
which the order is not fixed.and in pallet-im-online, mark whether to be online in the order of validator, And this is the root cause
Fix:
Fix slash exception
More rewards for validators
For the security of the ChainX mainnet and to encourage more community users to participate in the ChainX validators selection, we have decided to increase the proportion of system rewards to validators from 10% to 20%
Rewards: 20% for validator and 80% for the reward pot.
The text was updated successfully, but these errors were encountered: