-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Bounding ElectionProvider #11242
Bounding ElectionProvider #11242
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main thing that I see missing is:
We are thinking of actually setting a MaxBackersPerWinner
(e.g. 2048) enforcing it. This means that we 100% need that SortIntoBoundedSupports
, and most importantly, the miner code (unisgned.rs
) should use it.
We might need to play a bit of game here to allow the Miner
to configure its behavior. Doing SortIntoBoundedSupports
might be too expensive in the offchain worker miner context, but the signed staking-miner 100% need this.
I have rebased it off master in #11499 |
Thanks! closing this then to keep the lists small. |
This replaces #11229
Implements Step 1 of paritytech/polkadot-sdk#461
@kianenigma
Polkadot companion: paritytech/polkadot#5351
Polkadot address: 131dPecTmpTC1p1ofemufqFBJo9vNbV7dkgN7vWwKnaSMkC4