0

There is a condition in the substrate for the validators like if the validator misbehaves for example if the validator goes to offline than the stake of the validator will be slash, I setup a network of 5/5 and add one more validator and it goes to active state, after that i stopped the validator node and everything is working fine there is an event which show the offence of the offline validator but the stake of the validator not goes to slash enter image description here

So, how can I slash the validator stake

2 Answers 2

4

The default behavior is to only slash if more than 10% of the validators are offline (https://github.com/paritytech/substrate/blob/master/frame/im-online/src/lib.rs#L961-L971). The validator will be kicked out of the validator set in all cases.

2

Yep, there is a threshold as @André said.

But I think 1/5 is more than 10%.

There is one more thing that you need to know.

There is a SlashDeferDuration. Check your runtime configurations. The slash might not be executed immediately.

You could try querying the UnappliedSlashes from PolkadotApps.

1
  • 1
    Good point, guess I should have read the question details more carefully.
    – André
    Oct 10, 2022 at 14:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.