All chains
    Preparing search index...

    Type Alias manual_slash

    manual_slash: TxDescriptor<
        { era: number; slash_fraction: number; validator_stash: SS58String },
    >

    This function allows governance to manually slash a validator and is a fallback mechanism.

    The dispatch origin must be T::AdminOrigin.

    • 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.

    The slash will be applied using the standard slashing mechanics, respecting the configured SlashDeferDuration.

    This means:

    • If the validator was already slashed by a higher percentage for the same era, this slash will have no additional effect.
    • If the validator was previously slashed by a lower percentage, only the difference will be applied.
    • The slash will be deferred by SlashDeferDuration eras before being enacted.