diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock
index 48673e57ce5423ae8d497f580687fc785dced237..c869f0c8dfcf3cb175d21088eead3cd29298762f 100644
--- a/substrate/Cargo.lock
+++ b/substrate/Cargo.lock
@@ -9712,7 +9712,6 @@ dependencies = [
  "futures 0.1.31",
  "futures 0.3.13",
  "jsonrpc-core",
- "libp2p",
  "log",
  "node-cli",
  "parity-scale-codec 1.3.7",
diff --git a/substrate/test-utils/test-runner/Cargo.toml b/substrate/test-utils/test-runner/Cargo.toml
index cac699854f828b302a3d0eedafedb3fd192b26f7..4d9d6125bd4e4846d6a702468bc17dc6a44ff8e0 100644
--- a/substrate/test-utils/test-runner/Cargo.toml
+++ b/substrate/test-utils/test-runner/Cargo.toml
@@ -50,7 +50,6 @@ futures01 = { package = "futures", version = "0.1.29" }
 futures = { package = "futures", version = "0.3", features = ["compat"] }
 rand = "0.7"
 tokio = { version = "0.2", features = ["full"] }
-libp2p = "0.35.1"
 
 # Calling RPC
 jsonrpc-core = "15.1"
@@ -58,4 +57,4 @@ jsonrpc-core = "15.1"
 sc-finality-grandpa = { version = "0.9.0", path = "../../client/finality-grandpa" }
 sc-consensus-babe = { version = "0.9.0", path = "../../client/consensus/babe" }
 sp-consensus-babe = { version = "0.9.0", path = "../../primitives/consensus/babe" }
-node-cli = { version = "2.0.0", path = "../../bin/node/cli" }
\ No newline at end of file
+node-cli = { version = "2.0.0", path = "../../bin/node/cli" }