-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
@@ -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 |
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.
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", |
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.
Where theses duplicates come from?
Can you try to avoid them by using the same versions of the dependencies that use them?
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.
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
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.
Ho I see, is there already a GH issue on polkadot-sdk about that?
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.
I don't see it
The build fails because of this:
I decided to ignore it for now, I will add allow(deprecated) if that's ok |
No description provided.