8000 static_types: have a pass over `hardcoded constants` · Issue #994 · paritytech/polkadot-staking-miner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
static_types: have a pass over hardcoded constants #994
Open
@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

multi-blockTasks that is related to multi-block functionality

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0