This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Allow for a dynamic number of nominators #12968
Labels
J0-enhancement
An additional feature request.
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Task: Replace the maximum allowed number of nominations per nominator with a dynamic maximum based on the account's state (e.g. balance) by defining a
typ NominationsQuota
that returns the max number of nominations allowed for a given account.Both the number of targets and nominators (and respective nominations) impacts the size of the snapshot, thus the size of the snapshot may become critically large if the number of votes per nominator are large. Thus, the number of voters that are taken for the election snapshot must be dynamic over the number of nominators and respective nominations.
Related to and reviving this PR and discussion #10340
The text was updated successfully, but these errors were encountered: