Skip to content
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

Fix nominator_bond_less deletes bottom nomination bug #748

Merged
merged 26 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d43780b
in progress
4meta5 Aug 28, 2021
a4c5852
update top nominators list upon changes and do not remove any bottom …
4meta5 Aug 28, 2021
de70ef5
test fix
4meta5 Aug 28, 2021
a05b143
init migration to start to fix inconsistent state
4meta5 Aug 28, 2021
87f2c49
more progress on migration
4meta5 Aug 28, 2021
3685c8d
improve nomination increase decrease events
4meta5 Aug 29, 2021
abef07b
fmt
4meta5 Aug 29, 2021
51e95b2
review and comment all uses of pop
4meta5 Aug 29, 2021
0660760
add two different errors for each source of inconsistency and init mi…
4meta5 Aug 29, 2021
baa7807
Merge branch 'master' into patch-staking-bond-less-deletes-bottom-nom…
4meta5 Aug 29, 2021
d67c683
add unreserve stakers extrinsic gated by root to unreserve the reserv…
4meta5 Aug 29, 2021
0e3e071
in middle of testing migration and found bug wherein nominator can ha…
4meta5 Aug 29, 2021
2e428bf
fix migration, still needs weights
4meta5 Aug 29, 2021
e09dd1b
rename root unreserve function and finish migration test
4meta5 Aug 29, 2021
946bcf1
last few changes to public visibility to keep the test without exposi…
4meta5 Aug 29, 2021
dbd58d7
fix comment
4meta5 Aug 29, 2021
3cdf928
Fix max nominators per collator upgrade bug (#751)
4meta5 Aug 30, 2021
0648529
fix total staked in hotfix_unreserve_nomination as well
4meta5 Aug 30, 2021
76b3238
accept review comments
4meta5 Aug 30, 2021
f8f341a
fix weight returned in on runtime upgrade
4meta5 Aug 30, 2021
88c06e4
remove accounts due unreserved balance storage item and use btreemap …
4meta5 Aug 30, 2021
fc4a3bb
try fix
4meta5 Aug 30, 2021
0aec5a9
no filtering condition on first migration loop
4meta5 Aug 30, 2021
9b42168
merge migration functions into one function
4meta5 Aug 30, 2021
c6ec390
conservative weight estimate
4meta5 Aug 30, 2021
462347e
Update pallets/parachain-staking/src/lib.rs
4meta5 Aug 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading