-
Notifications
You must be signed in to change notification settings - Fork 6
Upgrade substrate to v30 #660
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
Conversation
5873954 to
03145e6
Compare
|
Migration
|
61409ca to
636b7ab
Compare
ccff78c to
1b068aa
Compare
6671bed to
491848a
Compare
|
The bulk of the changes look good. I have one part I have to come back to and look at, then should be good to go |
justinfrevert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 💪
JasonTulp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Thanks for doing this Suranga
aad4121 to
a81186a
Compare
* Add pallet-preimage * Update pallet-scheduler to use locally generated weight file. * Update pallet-preimage to use locally generated weights.
Upgrades substrate version from
polkadot-v0.9.27topolkadot-v0.9.30Migrations
Stakingpallet is inV7_0_0. need to bring it up to date with v27. i.eV10_0_0Upto v27 - need to update the storage version to v10
Staking
VoterList.We have already populated values in porcini/root
and this is an expensive operation
VoterListas well.we have validators + nominators in porcini
root only have validators
EarliestUnappliedSlash.UnappliedSlashes is empty for porcini/root
TransactionPayment
V1Ancient. there has been a PR for V2. We are already in V2. But the storage version gives the default valueV1Ancient. maybe we should update the version for the sake of future migrationsAfter v27 - migration required
Staking
We already have it under the prefix "VoterList", and no change
can run the migration with the same name to update the storage version
HistoryDepth.Move from storage value to config type alias
migration required
migration comparison
paritytech/substrate@polkadot-v0.9.27...polkadot-v0.9.28
paritytech/substrate@polkadot-v0.9.28...polkadot-v0.9.29
paritytech/substrate@polkadot-v0.9.29...polkadot-v0.9.30