-
Notifications
You must be signed in to change notification settings - Fork 51
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
Update polkadot-sdk to stable2407 #648
Conversation
Coverage Report@@ Coverage Diff @@
## master upgrade-stable2407 +/- ##
======================================================
+ Coverage 66.19% 66.49% +0.30%
- Files 264 261 -3
- Lines 45952 45854 -98
======================================================
+ Hits 30414 30490 +76
- Misses 15538 15364 -174
|
We don't need an extra migration to kill storage of the If you check the chain state of the different networks (Dancebox, Flashbox), you will notice that the |
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.
The overall changes (specially the treasury ones and related TS tests) look good to me.
test/suites/common-tanssi/pallet-treasury/test_pallet_treasury.ts
Outdated
Show resolved
Hide resolved
test/suites/common-tanssi/pallet-treasury/test_pallet_treasury.ts
Outdated
Show resolved
Hide resolved
container-chains/runtime-templates/simple/src/weights/pallet_balances.rs
Show resolved
Hide resolved
Ok that's very smart, thanks for checking @Agusrodri |
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.
LGTM!
Main changes:
NativeElseWasmExecutor has been deprecated, but we will keep using it for now. Removing it implies not being able to debug runtimes using breakpoints anymore.
cumulus-pallet-dmp-queue has been deprecated, it is safe to remove so we removed it. No need to kill pallet storage because it is automatically done in on_idle when migration completes.
pallet_treasury: proposeSpend and approveSpend have been removed. Instead of ApproveOrigin = Root and SpendOrigin = Never, we now have SpendOrigin = Root. In tests, users can no longer propose treasury spends, only root can spend. So I removed most of the treasury tests and added some new ones, please review that (test/suites/common-tanssi/pallet-treasury/test_pallet_treasury.ts). Info about the removal: paritytech/polkadot-sdk#138
Changed branch format in polkadot-sdk. Instead of "release-polkadot-v1.11.0", the release branch is now just called "stable2407". Our fork branch is called "tanssi-polkadot-stable2407" instead of "tanssi-polkadot-v1.11.0". I had to fix the download-polkadot.sh script, maybe other tools will break. More info:
https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-stable2407
https://github.com/paritytech/polkadot-sdk/blob/master/docs/RELEASE.md