This is our first release after becoming a live parachain on Kusama 🎉
BREAKING
- API: Removed limit of staking candidates (#244, #245)
- Removed
SelectedCandidates
.- Instead, we calculate the top candidates on the fly from our
TopCandidates
struct by taking the firstMaxTopCandidates
from there. The rest serve as runner ups.
- Instead, we calculate the top candidates on the fly from our
- There is no full list of all candidates anymore. The former
CandidatePool
has changed from anOrderedSet
to aStorageMap
fromcandidate_account_id
toCandidate
which equals the formerCollator
struct. - Thus, you can query a candidate's state now by
candidate_pool(acc_id)
instead ofcandidate_state(acc_id)
- Removed
- Updated to most recent Polkadot version:
polkadot-v0.9.9-1
frompolkadot-v0.9.8
(#242)
Bug Fix
- Staking: Fix potential irremovability of stakers
- Reduces the maximum of manual unstake requests of candidates and delegators by one to have a placeholder for exiting or forced removals
- Blocks candidates and delegators from (re-) joining if they have max unstake requests. Otherwise they would make themselves unblockable by rejoining after exiting/being kicked with max unstake requests.