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

Update polkadot-sdk to stable2407 #52

Merged
merged 2 commits into from
Aug 6, 2024
Merged

Update polkadot-sdk to stable2407 #52

merged 2 commits into from
Aug 6, 2024

Conversation

tmpolaczyk
Copy link
Collaborator

No description provided.

@@ -466,7 +466,7 @@ fn transfer_from_self() {
value: 400.into(),
},
)
.expect_cost(176215756) // 1 weight => 1 gas in mock
.expect_cost(173364756) // 1 weight => 1 gas in mock
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I had to change this value because these tests failed, I don't know if this will break anything

@@ -557,8 +368,24 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0"
dependencies = [
"asn1-rs-derive",
"asn1-rs-impl",
"asn1-rs-derive 0.4.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where theses duplicates come from?
Can you try to avoid them by using the same versions of the dependencies that use them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Essentially it comes from libp2p and litep2p using different versions of x509-parser. Unfortunately I don't think we can fix it, as those are defined in polkadot-sdk.

And polkadot-sdk has the same issue in their Cargo.lock: https://github.com/paritytech/polkadot-sdk/blob/035211d707d0a74a2a768fd658160721f09d5b44/Cargo.lock#L8121

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ho I see, is there already a GH issue on polkadot-sdk about that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't see it

@tmpolaczyk
Copy link
Collaborator Author

The build fails because of this:

error: use of deprecated struct `sc_executor::NativeElseWasmExecutor`: Native execution will be deprecated, please replace with `WasmExecutor`. Will be removed at end of 2024.

I decided to ignore it for now, I will add allow(deprecated) if that's ok

@librelois librelois merged commit c4f6184 into main Aug 6, 2024
9 of 10 checks passed
@librelois librelois deleted the update-stable2407 branch August 6, 2024 10:50
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.

2 participants