Tracks the eras that contain offences in OffenceQueue, sorted from earliest to latest.
OffenceQueue
BondingDuration
This eliminates the need for expensive iteration and sorting when fetching the next offence to process.
Tracks the eras that contain offences in
OffenceQueue
, sorted from earliest to latest.OffenceQueue
.OffenceQueue
, its era is inserted in sorted order if not already present.BondingDuration
.This eliminates the need for expensive iteration and sorting when fetching the next offence to process.