From ff8042d2715ace5382057e580ff2a4184f1dce5f Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Tue, 26 Nov 2024 14:24:34 +0200 Subject: [PATCH] cargo: Udpdate litep2p to specific branch Signed-off-by: Alexandru Vasile --- Cargo.lock | 3 +-- Cargo.toml | 2 +- substrate/client/network/src/litep2p/mod.rs | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6d14a119ec4f..82d180aa5592 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10196,8 +10196,7 @@ dependencies = [ [[package]] name = "litep2p" version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b67484b8ac41e1cfdf012f65fa81e88c2ef5f8a7d6dec0e2678c2d06dc04530" +source = "git+https://github.com/paritytech/litep2p.git?branch=lexnv/investigate-mismatch#eed0f755d591eb49e1b715a78aceb5a653ddf529" dependencies = [ "async-trait", "bs58", diff --git a/Cargo.toml b/Cargo.toml index 533ea4c9e878..c70861e5c4f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -848,7 +848,7 @@ linked-hash-map = { version = "0.5.4" } linked_hash_set = { version = "0.1.4" } linregress = { version = "0.5.1" } lite-json = { version = "0.2.0", default-features = false } -litep2p = { version = "0.8.1", features = ["websocket"] } +litep2p = { git = "https://github.com/paritytech/litep2p.git", branch = "lexnv/investigate-mismatch", features = ["websocket"] } log = { version = "0.4.22", default-features = false } macro_magic = { version = "0.5.1" } maplit = { version = "1.0.2" } diff --git a/substrate/client/network/src/litep2p/mod.rs b/substrate/client/network/src/litep2p/mod.rs index 493fb8503c82..c1c0c091eaf2 100644 --- a/substrate/client/network/src/litep2p/mod.rs +++ b/substrate/client/network/src/litep2p/mod.rs @@ -1066,6 +1066,7 @@ impl NetworkBackend for Litep2pNetworkBac NegotiationError::ParseError(_) => "parse-error", NegotiationError::IoError(_) => "io-error", NegotiationError::WebSocket(_) => "webscoket-error", + NegotiationError::BadSignature => "bad-signature", } };