From bc6ebabf235d18f48065589a46ad0c281a210532 Mon Sep 17 00:00:00 2001
From: Pierre Krieger <pierre.krieger1708@gmail.com>
Date: Fri, 17 Apr 2020 23:00:44 +0200
Subject: [PATCH] Force libp2p 0.18.1 (#5689)

---
 substrate/Cargo.lock                             | 8 ++++----
 substrate/bin/utils/subkey/Cargo.toml            | 2 +-
 substrate/client/authority-discovery/Cargo.toml  | 2 +-
 substrate/client/network-gossip/Cargo.toml       | 2 +-
 substrate/client/network/Cargo.toml              | 4 ++--
 substrate/client/network/test/Cargo.toml         | 2 +-
 substrate/client/peerset/Cargo.toml              | 2 +-
 substrate/client/telemetry/Cargo.toml            | 2 +-
 substrate/primitives/consensus/common/Cargo.toml | 2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock
index c0cb38679a1..f7f85106414 100644
--- a/substrate/Cargo.lock
+++ b/substrate/Cargo.lock
@@ -2576,9 +2576,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
 
 [[package]]
 name = "libp2p"
-version = "0.18.0"
+version = "0.18.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa5aedb713f76577818529be8283e35ec5e8b3ecdccfe0231ba4d860687438ab"
+checksum = "32ea742c86405b659c358223a8f0f9f5a9eb27bb6083894c6340959b05269662"
 dependencies = [
  "bytes 0.5.4",
  "futures 0.3.4",
@@ -2901,9 +2901,9 @@ dependencies = [
 
 [[package]]
 name = "libp2p-swarm"
-version = "0.18.0"
+version = "0.18.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "622605817885e67b5572189c2507e514b786beb69ed85a120dbb245a7f15383d"
+checksum = "44ab289ae44cc691da0a6fe96aefa43f26c86c6c7813998e203f6d80f1860f18"
 dependencies = [
  "futures 0.3.4",
  "libp2p-core",
diff --git a/substrate/bin/utils/subkey/Cargo.toml b/substrate/bin/utils/subkey/Cargo.toml
index cd65d49d98a..b0c642ec43e 100644
--- a/substrate/bin/utils/subkey/Cargo.toml
+++ b/substrate/bin/utils/subkey/Cargo.toml
@@ -32,7 +32,7 @@ derive_more = { version = "0.99.2" }
 sc-rpc = { version = "2.0.0-dev", path = "../../../client/rpc" }
 jsonrpc-core-client = { version = "14.0.3", features = ["http"] }
 hyper = "0.12.35"
-libp2p = "0.18.0"
+libp2p = "0.18.1"
 serde_json = "1.0"
 
 [features]
diff --git a/substrate/client/authority-discovery/Cargo.toml b/substrate/client/authority-discovery/Cargo.toml
index bc981db4aad..1a0c3d89afc 100644
--- a/substrate/client/authority-discovery/Cargo.toml
+++ b/substrate/client/authority-discovery/Cargo.toml
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", default-features = false, version = "1
 derive_more = "0.99.2"
 futures = "0.3.4"
 futures-timer = "3.0.1"
-libp2p = { version = "0.18.0", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
+libp2p = { version = "0.18.1", default-features = false, features = ["secp256k1", "libp2p-websocket"] }
 log = "0.4.8"
 prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-dev"}
 prost = "0.6.1"
diff --git a/substrate/client/network-gossip/Cargo.toml b/substrate/client/network-gossip/Cargo.toml
index 2b17f6f2f80..a4b3f72b043 100644
--- a/substrate/client/network-gossip/Cargo.toml
+++ b/substrate/client/network-gossip/Cargo.toml
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
 [dependencies]
 futures = "0.3.4"
 futures-timer = "3.0.1"
-libp2p = { version = "0.18.0", default-features = false, features = ["websocket"] }
+libp2p = { version = "0.18.1", default-features = false, features = ["websocket"] }
 log = "0.4.8"
 lru = "0.4.3"
 sc-network = { version = "0.8.0-dev", path = "../network" }
diff --git a/substrate/client/network/Cargo.toml b/substrate/client/network/Cargo.toml
index 85ad1c0289f..f8e35a924f3 100644
--- a/substrate/client/network/Cargo.toml
+++ b/substrate/client/network/Cargo.toml
@@ -63,7 +63,7 @@ void = "1.0.2"
 zeroize = "1.0.0"
 
 [dependencies.libp2p]
-version = "0.18.0"
+version = "0.18.1"
 default-features = false
 features = ["websocket", "kad", "mdns", "ping", "identify", "mplex", "yamux", "noise"]
 
@@ -71,7 +71,7 @@ features = ["websocket", "kad", "mdns", "ping", "identify", "mplex", "yamux", "n
 async-std = "1.5"
 assert_matches = "1.3"
 env_logger = "0.7.0"
-libp2p = { version = "0.18.0", default-features = false, features = ["secio"] }
+libp2p = { version = "0.18.1", default-features = false, features = ["secio"] }
 quickcheck = "0.9.0"
 rand = "0.7.2"
 sp-keyring = { version = "2.0.0-dev", path = "../../primitives/keyring" }
diff --git a/substrate/client/network/test/Cargo.toml b/substrate/client/network/test/Cargo.toml
index 200d31fa8ca..08d0e90871d 100644
--- a/substrate/client/network/test/Cargo.toml
+++ b/substrate/client/network/test/Cargo.toml
@@ -19,7 +19,7 @@ parking_lot = "0.10.0"
 futures = "0.3.4"
 futures-timer = "3.0.1"
 rand = "0.7.2"
-libp2p = { version = "0.18.0", default-features = false, features = ["libp2p-websocket"] }
+libp2p = { version = "0.18.1", default-features = false, features = ["libp2p-websocket"] }
 sp-consensus = { version = "0.8.0-dev", path = "../../../primitives/consensus/common" }
 sc-client = { version = "0.8.0-dev", path = "../../" }
 sc-client-api = { version = "2.0.0-dev", path = "../../api" }
diff --git a/substrate/client/peerset/Cargo.toml b/substrate/client/peerset/Cargo.toml
index 1481697c476..d5aa08f2f49 100644
--- a/substrate/client/peerset/Cargo.toml
+++ b/substrate/client/peerset/Cargo.toml
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
 
 [dependencies]
 futures = "0.3.4"
-libp2p = { version = "0.18.0", default-features = false }
+libp2p = { version = "0.18.1", default-features = false }
 sp-utils = { version = "2.0.0-dev", path = "../../primitives/utils"}
 log = "0.4.8"
 serde_json = "1.0.41"
diff --git a/substrate/client/telemetry/Cargo.toml b/substrate/client/telemetry/Cargo.toml
index a46d4f7f9a5..0928d1d2a15 100644
--- a/substrate/client/telemetry/Cargo.toml
+++ b/substrate/client/telemetry/Cargo.toml
@@ -19,7 +19,7 @@ parking_lot = "0.10.0"
 futures = "0.3.4"
 futures-timer = "3.0.1"
 wasm-timer = "0.2.0"
-libp2p = { version = "0.18.0", default-features = false, features = ["websocket", "wasm-ext", "tcp", "dns"] }
+libp2p = { version = "0.18.1", default-features = false, features = ["websocket", "wasm-ext", "tcp", "dns"] }
 log = "0.4.8"
 pin-project = "0.4.6"
 rand = "0.7.2"
diff --git a/substrate/primitives/consensus/common/Cargo.toml b/substrate/primitives/consensus/common/Cargo.toml
index afb2b8dfb5e..d34333c8831 100644
--- a/substrate/primitives/consensus/common/Cargo.toml
+++ b/substrate/primitives/consensus/common/Cargo.toml
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
 
 [dependencies]
 derive_more = "0.99.2"
-libp2p = { version = "0.18.0", default-features = false }
+libp2p = { version = "0.18.1", default-features = false }
 log = "0.4.8"
 sp-core = { path= "../../core", version = "2.0.0-dev"}
 sp-inherents = { version = "2.0.0-dev", path = "../../inherents" }
-- 
GitLab