Skip to content
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

chore: upgrade to stable2407 #234

Conversation

chungquantin
Copy link
Collaborator

@chungquantin chungquantin commented Aug 23, 2024

Notable changes in terms of pallet contracts:

IMPORTANT NOTE: this doesn't compile due to westend runtimes. Please compare this PR and once approved we can merge #412 and run the CI.

@chungquantin chungquantin self-assigned this Nov 18, 2024
@Daanvdplas
Copy link
Collaborator

[sc-1938]

@Daanvdplas Daanvdplas force-pushed the chungquantin/chore-polkadot-stable2407 branch from d7b8260 to 836a78a Compare December 18, 2024 11:20
@Daanvdplas Daanvdplas changed the base branch from main to daan/refactor-sdk_runtimes December 18, 2024 11:26
@Daanvdplas Daanvdplas force-pushed the chungquantin/chore-polkadot-stable2407 branch 2 times, most recently from 8fd0bc9 to 45b2cf6 Compare December 18, 2024 12:59
Base automatically changed from daan/refactor-sdk_runtimes to main December 19, 2024 10:56
@Daanvdplas Daanvdplas force-pushed the chungquantin/chore-polkadot-stable2407 branch from 45b2cf6 to e7abcd9 Compare December 19, 2024 14:08
parachains-common = { workspace = true, default-features = false }
polkadot-primitives = { workspace = true, default-features = false }
parachains-common.workspace = true
polkadot-primitives.workspace = true

Copy link
Collaborator

Choose a reason for hiding this comment

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

Couldn't resist doing a small refactor here making it consistent with the rest of the repo :)

@@ -1,4 +1,5 @@
[package]
authors = [ "R0GUE <go@r0gue.io>" ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This was required to build the contracts successfully

@@ -65,7 +67,8 @@ impl pallet_contracts::Config for Runtime {
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
type MaxDelegateDependencies = ConstU32<32>;
type MaxStorageKeyLen = ConstU32<128>;
type Migrations = ();
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>;
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@AlexD10S AlexD10S self-requested a review December 20, 2024 15:56
Copy link
Collaborator

@AlexD10S AlexD10S left a comment

Choose a reason for hiding this comment

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

LGTM! Should we wait until #412 is completed before merging this?

@Daanvdplas
Copy link
Collaborator

LGTM! Should we wait until #412 is completed before merging this?

Yes 100%. CI is failing and as I said in the description, the repo doesn't compile :)

Co-authored-by: chungquantin <56880684+chungquantin@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 7.81250% with 59 lines in your changes missing coverage. Please review.

Project coverage is 68.29%. Comparing base (37bb0a3) to head (b195d1a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
runtime/testnet/src/lib.rs 0.00% 14 Missing ⚠️
runtime/mainnet/src/lib.rs 13.33% 13 Missing ⚠️
runtime/devnet/src/lib.rs 0.00% 12 Missing ⚠️
node/src/service.rs 0.00% 8 Missing ⚠️
node/src/command.rs 0.00% 7 Missing ⚠️
node/src/rpc.rs 0.00% 2 Missing ⚠️
runtime/devnet/src/config/ismp.rs 0.00% 2 Missing ⚠️
runtime/common/src/lib.rs 0.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
- Coverage   68.41%   68.29%   -0.12%     
==========================================
  Files          70       70              
  Lines       11838    11861      +23     
  Branches    11838    11861      +23     
==========================================
+ Hits         8099     8101       +2     
- Misses       3482     3503      +21     
  Partials      257      257              
Files with missing lines Coverage Δ
extension/src/mock.rs 95.23% <ø> (ø)
pallets/api/src/fungibles/tests.rs 99.69% <100.00%> (ø)
runtime/devnet/src/config/api/mod.rs 67.44% <ø> (ø)
runtime/devnet/src/config/contracts.rs 84.21% <100.00%> (+0.87%) ⬆️
runtime/mainnet/src/config/xcm.rs 0.00% <ø> (ø)
runtime/testnet/src/config/api/mod.rs 67.44% <ø> (ø)
runtime/testnet/src/config/contracts.rs 84.21% <100.00%> (+0.87%) ⬆️
runtime/common/src/lib.rs 0.00% <0.00%> (ø)
node/src/rpc.rs 0.00% <0.00%> (ø)
runtime/devnet/src/config/ismp.rs 0.00% <0.00%> (ø)
... and 5 more

... and 1 file with indirect coverage changes

@peterwht peterwht changed the base branch from main to chore-upgrade-pop-net-to-stable2412/sc-1940 January 3, 2025 19:22
@peterwht peterwht merged commit 545a095 into chore-upgrade-pop-net-to-stable2412/sc-1940 Jan 3, 2025
14 checks passed
@peterwht peterwht deleted the chungquantin/chore-polkadot-stable2407 branch January 3, 2025 19:24
@peterwht peterwht mentioned this pull request Jan 3, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants