-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.
Description
Currently
- Slashes are scheduled with delay of
slash_defer_duration. - Unapplied slashes has unbounded number of stash accounts and reporters.
- All slashes for an era are applied in one block at start of the era.
Goal
- Unapplied slashes are pagified. For a given validator and era, there could be multiple pages unapplied slashes.
- Only one validator and one page of unapplied slash is applied per block.
- Edge case: if at end of era there are still unapplied slashes, apply all of them.
Notes
Current: An offence report can come between the offence_era and SlashDeferDuration. The slash is applied on offence_era + SlashDeferDuration. SlashDeferDuration should be strictly less than BondingDuration. This is only 1 day in prod runtimes.
Metadata
Metadata
Assignees
Labels
T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.
Type
Projects
Status
Done