Closed icodezjb closed 2 years ago
Im still getting slashed after upgrade to v4.1.1
Im still getting slashed after upgrade to v4.1.1
ChainX mainnet is OK now, and you can
--state-cache-size=0
It is slashing and i;m loosing 1 pcx everytimne it happens. (1) i rechecked session keys and even set new ones (2)state-cache-size=0 is set
It is slashing and i;m loosing 1 pcx everytimne it happens. (1) i rechecked session keys and even set new ones (2)state-cache-size=0 is set
Are you DOZENODES? You were slashed during the candidate stage. If you do not set the correct session keys in the candidate stage, it means that the heartbeat transaction (using the im-online key) cannot be sent to the system, the system thinks you are offline, and then you are slashed
Im still getting slashed after upgrade to v4.1.1 @ddozen Try ChainX v4.2.0 now (runtime version 20). The candidate node would be slashed.
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.