All chains
    Preparing search index...

    Type Alias PlanningEraOffset

    PlanningEraOffset: PlainDescriptor<number>

    Number of sessions before the end of an era when the election for the next era will start.

    • This determines how many sessions before the last session of the era the staking election process should begin.
    • The value is bounded between 1 (election starts at the beginning of the last session) and SessionsPerEra (election starts at the beginning of the first session of the era).
    • If SessionsPerEra = 6 and PlanningEraOffset = 1, the election starts at the beginning of session 6 - 1 = 5.
    • If PlanningEraOffset = 6, the election starts at the beginning of session 6 - 6 = 0, meaning it starts at the very beginning of the era.