-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore: upgrade to stable2407 #234
chore: upgrade to stable2407 #234
Conversation
[sc-1938] |
d7b8260
to
836a78a
Compare
8fd0bc9
to
45b2cf6
Compare
45b2cf6
to
e7abcd9
Compare
parachains-common = { workspace = true, default-features = false } | ||
polkadot-primitives = { workspace = true, default-features = false } | ||
parachains-common.workspace = true | ||
polkadot-primitives.workspace = true | ||
|
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.
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>" ] |
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 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>,); |
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.
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! 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 ReportAttention: Patch coverage is
@@ 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
|
545a095
into
chore-upgrade-pop-net-to-stable2412/sc-1940
Notable changes in terms of pallet contracts:
type MaxTransientStorageSize = ConstU32<{ 1024 * 1024 }>
in the runtimes.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.