Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Session length and sessions per era is no longer configurable #2878

@xlc

Description

@xlc

Previously (before #2802) session length and sessions per era are configurable in chain_spec and can be dynamically changed using sudo call.

It doesn't seems possible now as the value are hardcoded in runtime/src/lib.rs file.

This makes e2e tests harder as we can't easily create different chains with different block time / session length / era length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions