Skip to content

chore: upgrade to v1.14.0#41

Merged
Daanvdplas merged 7 commits intor0gue-io:mainfrom
chungquantin:chungquantin/chore-polkadot-v1.14.0
Aug 20, 2024
Merged

chore: upgrade to v1.14.0#41
Daanvdplas merged 7 commits intor0gue-io:mainfrom
chungquantin:chungquantin/chore-polkadot-v1.14.0

Conversation

@chungquantin
Copy link
Contributor

@chungquantin chungquantin commented Aug 16, 2024

Status: ✅ Compiled and built successfully

Direct changes

Copy link
Member

@al3mart al3mart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be sensible to ship the template wiith MigrateToLatestXcmVersion baked into the runtime.

I'd like to read others opinions, though.

Copy link
Collaborator

@Daanvdplas Daanvdplas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see dependencies that are bumped when looking at the Cargo.toml file of the SDK on release v1.14 (e.g. codec = 3.6.12), compared to the ones here. Please compare the ones above line 40 (#Substrate).

service.rs:

+use prometheus_endpoint::Registry;
-use substrate_prometheus_endpoint::Registry;

runtime/src/config/mod.rs:

message_queue
-    type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>;
+    type HeapSize = sp_core::ConstU32<{ 103 * 1024 }>;

xcm.rs

-    type FeeManager = XcmFeeManagerFromComponents<
-        WaivedLocations,
-        // Delivery fees are sent to the treasury account.
-        // These funds are not accessible without a module controlling such an account.
-        // [pallet_treasury](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/treasury)
-        // could be suitable option, configured using the same `TREASURY_PALLET_ID` used above as the pallet config's `PalletId`.
-        XcmFeeToAccount<Self::AssetTransactor, AccountId, TreasuryAccount>,
-    >;
+    type FeeManager = ();

-    type XcmTeleportFilter = Nothing;
+    type XcmTeleportFilter = Everything;

Could be sensible to ship the template wiith MigrateToLatestXcmVersion baked into the runtime.

I see no harm in putting it in there.

Copy link
Member

@al3mart al3mart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't find anything more than what Daan has spotted.
Left a pair of super small nits.

Copy link
Collaborator

@Daanvdplas Daanvdplas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from ale's comments the chain runs smoothly and seems good to go!

@chungquantin chungquantin requested a review from al3mart August 20, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants