-
Notifications
You must be signed in to change notification settings - Fork 150
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 polkadot-v0.9.34 #1097
Conversation
b5ef4c8
to
af6f9d2
Compare
@@ -87,7 +88,7 @@ expression: "(<PinkRuntime as frame_system::Config>::BlockWeights::get(),\n < | |||
payload_len: 16384, | |||
}, | |||
instruction_weights: InstructionWeights { | |||
version: "3 ps", | |||
version: "4 ps", |
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.
@kvinwang Caution
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.
It's OK since we haven't published the first version.
@@ -144,6 +145,7 @@ impl Config for PinkRuntime { | |||
type AddressGenerator = Pink; | |||
type MaxCodeLen = MaxCodeLen; | |||
type MaxStorageKeyLen = MaxStorageKeyLen; | |||
type UnsafeUnstableInterface = ConstBool<false>; |
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.
@kvinwang Caution
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. We never want contracts to call unstable interfaces.
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
@@ -144,6 +145,7 @@ impl Config for PinkRuntime { | |||
type AddressGenerator = Pink; | |||
type MaxCodeLen = MaxCodeLen; | |||
type MaxStorageKeyLen = MaxStorageKeyLen; | |||
type UnsafeUnstableInterface = ConstBool<false>; |
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. We never want contracts to call unstable interfaces.
@@ -87,7 +88,7 @@ expression: "(<PinkRuntime as frame_system::Config>::BlockWeights::get(),\n < | |||
payload_len: 16384, | |||
}, | |||
instruction_weights: InstructionWeights { | |||
version: "3 ps", | |||
version: "4 ps", |
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.
It's OK since we haven't published the first version.
I shall merge this after SPv2 things finished |
af6f9d2
to
d9d9925
Compare
I'll merge this so I can start working on Khala |
paritytech/substrate@polkadot-v0.9.33...polkadot-v0.9.34
Polkadot v0.9.34 has version bumps (and migrations this not relates to Phala), so we upgrade to this version first
Notatble changes:
sp-core 7.0.0
andsp-runtime 7.0.0
paritytech/substrate#12599sp-keyring
andpallet-contracts-primitives
7.0.0
paritytech/substrate#12716sp-sandbox
andwasmi-validation
by newest wasmi paritytech/substrate#12501Another notice that it seems Substrate change its releasing stretegy that latest (for example)
sp-core
is 10.0 now, so we have to loosen requirements for Substrate dependencies of our crates that publish to crates.io