-
Notifications
You must be signed in to change notification settings - Fork 101
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
upgrade to v1.2 #56
upgrade to v1.2 #56
Conversation
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
relay/polkadot/src/lib.rs
Outdated
@@ -1573,7 +1578,7 @@ pub mod migrations { | |||
pub type Unreleased = ( | |||
pallet_im_online::migration::v1::Migration<Runtime>, | |||
parachains_configuration::migration::v7::MigrateToV7<Runtime>, | |||
crate::paras_scheduler_migration::v1::MigrateToV1<Runtime>, | |||
//crate::paras_scheduler_migration::v1::MigrateToV1<Runtime>, // TODO |
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.
We should be able to remove all of the migrations. Or we keep them here longer until the next release.
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.
I would remove migrations only after we see them enacted on-chain - just because we released them is no guarantee they will also run (maybe that runtime release gets skipped on-chain)..
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.
Yeah for the CI we need to keep them any way.
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.
We can re-add that migration, but it but it is a slightly different version from the SDK. The version that was commented here was a copy&paste version that does not compile anymore.
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.
Ahh it doesn't compile. Yeah then let's remove it. I think my fixed version should be in 1.3.0
@muharem is this PR ready? I am confused by TODO in description.. |
Sorry i added it. |
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
This reverts commit 8f614ae.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
There was a problem running the action.❌😵❌ Please find more information in the logs. |
We are missing an entry to |
added, please review. feel free to commit the suggestions. |
Co-authored-by: joe petrowski <[email protected]>
CHANGELOG.md
Outdated
- Upgrade parachains runtime API from v5 to v7 in Polkadot and Kusama ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56)) | ||
- Upgrade Preimage pallet's config implementations to adapt the new `Consideration` API ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56)) | ||
- Remove `experimental` feature flag for `pallet-society`, `pallet-xcm`, and `runtime-common` crates imports ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56)) | ||
- Election provider: use a geometric deposit base calculation for EPM signed submissions in Polkadot and Kusama ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56)) | ||
|
||
### Added | ||
|
||
- Add missing weight functions for `runtime_parachains_hrmp` and `preimage` pallets ([polkadot-fellows/runtimes#56](https://github.com/polkadot-fellows/runtimes/pull/56)) |
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.
This should go into a new [Unreleased]
header.
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.
updated
/merge |
There was a problem running the action.❌😵❌ Please find more information in the logs. |
Opening PR mostly for visibility - I expect #56 to be finished before, which would bump everything to v1.2 and then I'll convert this PR to v1.2 -> v1.3. In its current state, this PR does v1.0 -> v1.3 bump, although I've only been looking at [v1.2 -> v1.3 changelog](https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.3.0), so everything else just compiles. TODOs left in this PR (which I'd like to address after #56 is finished): - [x] revert `[cargo upgrade --pinned --incompatible](https://github.com/polkadot-fellows/runtimes/commit/8df27a586b598d2f783b53cd62b127b8f8ac846a)` and only leave sdk crates bump; - [x] rebase on top of #56; - [x] ensure that remaining PRs from v1.2 -> v1.3 are either not required for P/K or shall be added later (paritytech/polkadot-sdk#1344, paritytech/polkadot-sdk#1333); - [x] update weights - [x] ~(maybe worth a separate PR) there's a lot of unused weight files in this repo - I'd like to remove it~ will do it in a separate PR - tracked here: https://github.com/svyatonik/runtimes/tree/remove-unused-weight-files @liamaharon Can you, please, confirm that the paritytech/polkadot-sdk#1344 was necessary only for sdk CI fixes - that PR caught my eye when I was looking at 1.3 CHANGELOG and I was wondering if we need to do the same for Polkadot, Kusama and system parachains? --------- Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: muharem <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: joe petrowski <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]>
We imported the runtimes into this repo at tag [`v1.1.0-rc2`](https://github.com/paritytech/polkadot-sdk/commits/v1.1.0-rc2/) but still merged stuff until they got removed in [#1731](paritytech/polkadot-sdk#1731). This re-applies all changes in that commit range [`v1.1.0-rc2..bf90cb0b`](paritytech/polkadot-sdk@v1.1.0-rc2...bf90cb0) checked in the SDK with `git log v1.1.0-rc2..bf90cb0b -- polkadot/runtime/`. Closes #112 Most changes got applied as part of #56, but two were missing: - paritytech/polkadot-sdk#1303 - <s>https://github.com/paritytech/polkadot-sdk/pull/1476</s> (reverted) <s>One [open Q](#67 (comment)) since there was a difference between [#1291](paritytech/polkadot-sdk#1291) and #67.</s> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: joe petrowski <[email protected]>
In the PR we bump versions for all dependacy crates from
polkadot-sdk
and apply all required changesChanges:
parachains_runtime_api_impl
v5
->v7
,Consideration
setup for preimage pallet instances,experimental
feature removed forpallet-society
,pallet-xcm
,runtime-common
crates,VersionedMigration
paritytech/polkadot-sdk#1503;pallet_election_provider_multi_phase::Config::SignedDepositBase
set toGeometricDepositBase
,open_outbound_hrmp_channel_for_benchmarks_or_tests
func rename,xcmp_queue_send_xcm_works
test paritytech/polkadot-sdk#1422;runtime_parachains_hrmp
andpallet_preimage
;TODO: