-
Notifications
You must be signed in to change notification settings - Fork 9
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
🏗️ Release migrations #252
Conversation
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.
If InitializePallet
struct doesn't initialize it, but updates the on-chain pallet version then maybe let's rename it?
I believe the idea behind the struct name is that we should use it every time we add a new pallet with a storage version different from 0. That's why @vstam1 went with "initialize" - but it is just a name, if we think it is not correct we can always change it. |
I don't think we need this anymore after the 1.6 upgrade, as Substrate does the initialisation itself now! |
We still need it for setting the version to the latest if it wasn't properly set when adding the pallet right? |
I think it should do that as well, if the latest version is defined in the pallet? Maybe not, but we could probably investigate with try-runtime? |
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.
Leave it up to you @lrazovic if you wanna change anything based in our comments. It is already good as is to merge IMO
What?
DmpQueue
version to latest (2).spec-version
, so we can use thetry-runtime-cli
to test the new runtimes.Why?
try-runtime-cli
was not working properly in the last upgrade, so we missed this. 🔖 Release Polimec 0.6.0 #240Testing