-
Notifications
You must be signed in to change notification settings - Fork 336
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
staking todos #179
Comments
Right now, a nominator must call |
what do you mean by that? Mimic the polkadot-js types in the rust code? |
@joelamouche The Rust code change requires annotating the struct fields that use Let's not prioritize this until we're sure we want to optimize this implementation. |
Mostly addressed in #285 and will be tracked elsewhere from now on |
Here is a list of features I want for
stakev1
:parachain-staking
, change all instances ofValidator
toCollator
. TheValidators
storage item should be renamedSelectedCandidates
MinCollatorCandidateStk
bond, as an associated type for Config trait and only useMinCollatorStk
constant when selecting theSelectedCandidates
BlocksPerRound
a storage item and add runtime method for root to update it (using > instead of % for determining round transitions)nominate_new
andjoin_nominators
into singlenominate
runtime method (see comment further above)Get<Perbill>
forConfig
), instead of configurable per collator (as per our preferred design constraints)swap_nominations
logic, tis quadratic and can easily write code that calls successive runtime methods to achieve same functionality (also removes ~200 loc and puts thelib.rs
under 1k loc again)Prioritized features for future releases:
MaxNominationsPerCollator
nominations instead of the firstMaxNominationsPerCollator
nominationsExitQueue
with usage ofpallet_scheduler
Other stuff to do:
The text was updated successfully, but these errors were encountered: