Skip to content

Increasing parachain slot duration #9674

@sandreim

Description

@sandreim

There are chains that currently use a slot time of 12s and 6s (async backing). It is important to find out what would break and requires any storage migration if we would increase the slot to 24s here:

type SlotDuration = ConstU64<SLOT_DURATION>;

More context:

  • Assuming reference hardware and full usage of cores, for every block author change, a 3 core elastic scaling chain (using AURA) will loose 2s of execution at the beginning of its slot. This is because the next author has to import the best block built by previous collator before it's slot starts.
  • If we increase the slot to 24s this will improve throughput while also preserving censorship resistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions