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

Upgrade to polkadot-v0.9.34 #1097

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Upgrade to polkadot-v0.9.34 #1097

merged 1 commit into from
Jan 12, 2023

Conversation

jasl
Copy link
Collaborator

@jasl jasl commented Jan 4, 2023

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:

Another 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

@jasl jasl requested a review from kvinwang January 4, 2023 17:05
@jasl jasl force-pushed the polkadot-v0.9.34 branch 5 times, most recently from b5ef4c8 to af6f9d2 Compare January 4, 2023 19:15
@@ -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",
Copy link
Contributor

Choose a reason for hiding this comment

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

@kvinwang Caution

Copy link
Collaborator

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>;
Copy link
Contributor

Choose a reason for hiding this comment

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

@kvinwang Caution

Copy link
Collaborator

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.

Copy link
Collaborator

@kvinwang kvinwang left a 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>;
Copy link
Collaborator

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",
Copy link
Collaborator

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.

@jasl
Copy link
Collaborator Author

jasl commented Jan 12, 2023

I shall merge this after SPv2 things finished

@jasl jasl force-pushed the polkadot-v0.9.34 branch from af6f9d2 to d9d9925 Compare January 12, 2023 10:45
@jasl
Copy link
Collaborator Author

jasl commented Jan 12, 2023

I'll merge this so I can start working on Khala

@jasl jasl merged commit 329b4ac into master Jan 12, 2023
@jasl jasl deleted the polkadot-v0.9.34 branch January 12, 2023 19:38
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