diff --git a/Cargo.lock b/Cargo.lock index 4512a66a1ce2f..13e6d0119ee26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8652,6 +8652,7 @@ dependencies = [ "chrono", "futures", "libp2p", + "libp2p-tcp", "log", "parking_lot 0.12.1", "pin-project", diff --git a/client/telemetry/Cargo.toml b/client/telemetry/Cargo.toml index 0a0b9284efa24..32d2f2de949ba 100644 --- a/client/telemetry/Cargo.toml +++ b/client/telemetry/Cargo.toml @@ -17,6 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"] chrono = "0.4.19" futures = "0.3.21" libp2p = { version = "0.49.0", default-features = false, features = ["dns", "tcp", "tokio", "wasm-ext", "websocket"] } +# Fix the resolution of libp2p-tcp according to the lockfile for publishing. This could be removed +# once libp2p is upgraded to >=0.50. +libp2p-tcp = "=0.37.0" log = "0.4.17" parking_lot = "0.12.1" pin-project = "1.0.12"