-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for multi-block election + dedicated election system parachain #461
Open
9 of 19 tasks
Labels
I6-meta
A specific issue for grouping tasks or bugs of a specific category.
Comments
kianenigma
changed the title
Tracking Issue for Substrate's NPoS
Tracking Issue for multi-block election + dedicated parachain
Aug 7, 2021
kianenigma
changed the title
Tracking Issue for multi-block election + dedicated parachain
Tracking Issue for multi-block election + dedicated election common-good parachain
Aug 7, 2021
Monthly update notes: https://gist.github.com/kianenigma/aa835946455b9a3f167821b9d05ba376 |
This was referenced Jan 5, 2022
Almost everything needed for this work is now done and tested in my WIP branch. I've updated the main task list with 4 major steps of how this should be backported to the master branch. |
bkchr
changed the title
Tracking Issue for multi-block election + dedicated election common-good parachain
Tracking Issue for multi-block election + dedicated election system parachain
Mar 20, 2022
This was referenced Mar 23, 2022
about reading relay chain state from parachain: #82 |
This was referenced Apr 17, 2022
Open
3 tasks
the-right-joyce
added
I6-meta
A specific issue for grouping tasks or bugs of a specific category.
and removed
J1-meta
labels
Aug 25, 2023
helin6
pushed a commit
to boolnetwork/polkadot-sdk
that referenced
this issue
Feb 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Non-technical overview
parent of paritytech/substrate#6242.
Task List
(expect this to grow and change over time)
Main track
ElectionDataProvider
:remaining: PageIndex
to the interfaces, and make pallet-staking understand it.iter_from()
for this to work.ElectionProvider
: @emostovfn elect
toBoundedSupportsOf<_>
.MaxBackersPerWinner
.storage_info
for staking.ElectionProvider
substrate#11229ElectionProvider
:remaining: PageIndex
to the interface and make pallet-staking understand it.MaxWinnersPerPage
.pallet-election-provider-multi-block
pallet-election-provider-multi-block
: takes care of phase rotation and snapshot managementpallet-verifier
: takes care of verifying solutions in one or more blockspallet-signed
.pallet-unsigned
.Other misc. worthy of being backported
sort
andremove_weakest_sorted
fromNposSolution
. Test them well, but don't use them anywhere.Nice to have
MaxEncodedLength
forNposSolution
: ImplementingMaxEncodedLen
forgenerate_solution_type
substrate#11032VoterIndex = u16
. Unless of voter page per snapshot is more than 65k, which it will never be, we can drastically reduce the size of the solution via this simple tweak.election-provider-multi-phase
solution checks substrate#8641ElectionProvider
andElectionDataProvider
to use associated types forAccountId
andBlockNumber
, for nicer visuals and consistent API. move generics of election trait to associated types substrate#10475ErasStakersClipped
toon_idle
. We have a full era to make sure it is filled, and even if not, it is not a consensus critical operation.Hygiene
CompactSoltuion
to anything else that does not have the keywordCompact
in it. That's very confusing. Multi-Block Election part 0: preparation and some cleanup. substrate#9442ElectionProvider
andElectionDataProvider
traits, instead to the benchmarking accurately. remove the uselsss weight return type from election provider API substrate#9569The text was updated successfully, but these errors were encountered: