All chains
    Preparing search index...

    Type Alias cancel_deferred_slash

    cancel_deferred_slash: TxDescriptor<
        { era: number; validator_slashes: [SS58String, number][] },
    >

    Cancels scheduled slashes for a given era before they are applied.

    This function allows T::AdminOrigin to cancel pending slashes for specified validators in a given era. The cancelled slashes are stored and will be checked when applying slashes.

    • era: The staking era for which slashes should be cancelled. This is the era where the slash would be applied, not the era in which the offence was committed.
    • validator_slashes: A list of validator stash accounts and their slash fractions to be cancelled.