-
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
Update to SDK 1.13 #322
Update to SDK 1.13 #322
Conversation
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
AccountId, | ||
Self::AssetKind, | ||
PoolIdToAccountId, | ||
>; // FAIL-CI @muharem does this make sense or do we need the AccountIdConverter? |
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.
@muharem i copied this from the SDK, please check.
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.
for Kusama we need to leave it with no seed for now (AccountIdConverterNoSeed
) to keep the same derivation as now. to migrate to new derivation, we need to include the migration pallet. I can do it in separate PR, this is not critical.
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.
in Polkadot Asset Hub, for the same type parameter we can use this setup, and remove the imps::pool
module. this is because for the pallet for Polkadot was launched with the new derivation.
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.
Not sure if i understood this correctly, but i could not get it to compile with the changes.
Can you please just push a commit here to fix it?
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
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.
system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_xcm.rs
Outdated
Show resolved
Hide resolved
system-parachains/collectives/collectives-polkadot/src/xcm_config.rs
Outdated
Show resolved
Hide resolved
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
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.
IdleMaxServiceWeight
is set everywhere to nothing. Was this done on purpose?
CHANGELOG.md
Outdated
@@ -6,9 +6,90 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
|
|||
## [Unreleased] | |||
|
|||
### Added | |||
|
|||
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Add `claim_assets` extrinsic to `pallet-xcm` ([SDK v1.9 #3403](https://github.com/paritytech/polkadot-sdk/pull/3403)). |
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.
Not sure about the formatting. Maybe having the pr only once and then mention all these changes in a sublist?
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.
Grouped them now.
CHANGELOG.md
Outdated
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Im-online pallet offchain storage cleanup ([SDK v1.8 #2290](https://github.com/paritytech/polkadot-sdk/pull/2290)). | ||
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Implements a percentage cap on staking rewards from era inflation ([SDK v1.8 #1660](https://github.com/paritytech/polkadot-sdk/pull/1660)). | ||
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Introduce submit_finality_proof_ex call to bridges GRANDPA pallet ([SDK v1.8 #3225](https://github.com/paritytech/polkadot-sdk/pull/3225)). | ||
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Multi-Block-Migrations, `poll` hook and new System Callbacks ([SDK v1.9 #1781](https://github.com/paritytech/polkadot-sdk/pull/1781)). |
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.
- [[#322](https://github.com/polkadot-fellows/runtimes/pull/322)] Multi-Block-Migrations, `poll` hook and new System Callbacks ([SDK v1.9 #1781](https://github.com/paritytech/polkadot-sdk/pull/1781)). |
Not exactly sure how you have compiled this list, however these are not changes that are relevant to the upstream users.
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 tried out a script and the deleted uninteresting ones manually, but looks like i have to delete some more.
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.
Maybe we can just directly include this script in the release process?
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 script only helps only when updating to a new SDK version.
But in theory we could also copy the relevant prdoc files from the SDK into the runtimes repo and then aggregate them on release.
@@ -1929,6 +1941,9 @@ pub mod migrations { | |||
ImOnlinePalletName, | |||
<Runtime as frame_system::Config>::DbWeight, | |||
>, | |||
parachains_configuration::migration::v12::MigrateToV12<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.
We should clean up the migrations.
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.
Removed all the old ones from Kusama and Polkadot now here: 515b383
There are probably still some in the SPs, but can do afterwards.
// Most on-chain HRMP channels are configured to use 102400 bytes of max message size, so we | ||
// need to set the page size larger than that until we reduce the channel size 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.
Is there a proposal for this or when will this be done?
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.
No proposal yet, probably need to do paritytech/polkadot-sdk#3145 first.
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
…polkadot_config.rs Co-authored-by: Adrian Catangiu <[email protected]>
…o_kusama_config.rs Co-authored-by: Adrian Catangiu <[email protected]>
…rc/lib.rs Co-authored-by: Adrian Catangiu <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Kusama pool address locator has no pallet id seed in it. Polkadot pool locator uses type from sdk.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Updates the runtimes from 1.7 to 1.13.
TODO:
FAIL-CI @name
.