Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

migration(elections-phragmen): unreserve deposits and clear locks #14218

Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
10e6d2f
pre_upgrade hook wip
liamaharon May 23, 2023
6d0bf7d
working pre_upgrade
liamaharon May 24, 2023
ea409bc
simplify code
liamaharon May 24, 2023
9d1789e
cleanup and document
liamaharon May 24, 2023
01ea43b
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon May 24, 2023
ebb488a
return reads from get_account_deposited_and_staked_sums
liamaharon May 24, 2023
7f52a9e
improve comment
liamaharon May 24, 2023
47bb2b8
on_runtime_upgrade comment
liamaharon May 24, 2023
1679157
post upgrade comment
liamaharon May 24, 2023
5397979
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon May 25, 2023
2d293c9
use saturating_add
liamaharon May 25, 2023
409f99d
clippy
liamaharon May 25, 2023
3fd5392
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon May 26, 2023
8c3971c
clean up balances
liamaharon May 26, 2023
38adcca
add tests
liamaharon May 26, 2023
0f55c76
fix comment
liamaharon May 26, 2023
766b32e
oops
liamaharon May 26, 2023
58187b0
actually fix comment
liamaharon May 26, 2023
d7a7eb3
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon May 29, 2023
536d1e8
fix std build
liamaharon May 29, 2023
1b47230
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon May 30, 2023
673b4d0
address pr comments
liamaharon May 30, 2023
8580f69
remove redundant comment
liamaharon May 30, 2023
cd83953
update comment
liamaharon May 30, 2023
1af1718
add comment
liamaharon May 30, 2023
8371435
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon Jun 2, 2023
18e21f7
oliver comments from tips pallet pr
liamaharon Jun 2, 2023
f7da883
lint
liamaharon Jun 2, 2023
3699852
remove need for do_pre/do_post runtime functions
liamaharon Jun 2, 2023
1be3e5b
generic dbweight
liamaharon Jun 5, 2023
429b1f1
Update frame/elections-phragmen/src/migrations/unlock_and_unreserve_a…
liamaharon Jun 13, 2023
29d1319
Update frame/elections-phragmen/src/migrations/unlock_and_unreserve_a…
liamaharon Jun 13, 2023
1d8f379
pr comments
liamaharon Jun 13, 2023
e1bfb54
Merge branches 'liam-elections-phragmen-unlock-and-unreserve-funds-mi…
liamaharon Jun 13, 2023
e7888c0
Merge branch 'master' of github.com:paritytech/substrate into liam-el…
liamaharon Jun 13, 2023
173b86d
remove useless check
liamaharon Jun 13, 2023
79bd136
feature gate log target
liamaharon Jun 13, 2023
8136e3d
lint
liamaharon Jun 13, 2023
5d054b8
Update frame/elections-phragmen/src/migrations/unlock_and_unreserve_a…
liamaharon Jun 13, 2023
350bc2a
add log for unexpected amounts
liamaharon Jun 13, 2023
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
2 changes: 2 additions & 0 deletions frame/elections-phragmen/src/migrations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

//! All migrations of this pallet.

/// Migration to unreserve all pallet funds.
pub mod unlock_and_unreserve_all_funds;
/// Version 3.
pub mod v3;
/// Version 4.
Expand Down
Loading