This function allows governance to manually slash a validator and is a fallback mechanism.
The dispatch origin must be T::AdminOrigin.
T::AdminOrigin
validator_stash
era
slash_fraction
The slash will be applied using the standard slashing mechanics, respecting the configured SlashDeferDuration.
SlashDeferDuration
This means:
This function allows governance to manually slash a validator and is a fallback mechanism.
The dispatch origin must be
T::AdminOrigin.Parameters
validator_stash- The stash account of the validator to slash.era- The era in which the validator was in the active set.slash_fraction- The percentage of the stake to slash, expressed as a Perbill.Behavior
The slash will be applied using the standard slashing mechanics, respecting the configured
SlashDeferDuration.This means:
SlashDeferDurationeras before being enacted.