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.

make MAX_VOTERS and MAX_CANDIDATES in elections-phragmen configurable #11902

@kianenigma

Description

@kianenigma

Make these two magic constants added in #11790 be type X: Get<_>, set them to the same value as now in the polkadot companion. Document that parachain teams should chose these values carefully, ensuring that both the weight and PoV is within reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coderZ6-mentorAn easy task where a mentor is available. Please indicate in the issue who the mentor could be.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions