Skip to content

static_types: have a pass over hardcoded constants #994

@niklasad1

Description

@niklasad1

There are a few of hardcoded constants configurations which could be wrong or become outdated if something gets changed in the runtime.

Most likely submitting a valid solution would not work and we will detect it via the integration tests.

Currently we got the following hardcoded stuff (could be outdated):

  • MaxBackersPerWinnerFinal = u32::MAX
  • MaxVotesPerVoter: 16 (polkadot, westend) and 24 (kusama)
  • MaxVoters: 22500 (polkadot, westend) and 12500

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions