Skip to content

Commit 65017f9

Browse files
committed
Add a timeout to inbound libp2p-kad substreams
1 parent ad62cc9 commit 65017f9

2 files changed

Lines changed: 35 additions & 35 deletions

File tree

Cargo.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -839,8 +839,8 @@ kvdb-shared-tests = { version = "0.11.0" }
839839
landlock = { version = "0.3.0" }
840840
libc = { version = "0.2.155" }
841841
libfuzzer-sys = { version = "0.4" }
842-
libp2p = { version = "0.54.2", git = "https://github.com/autonomys/rust-libp2p", rev = "04c2e649b1f5482b8c3466b0fdbd1815b3126a48" }
843-
libp2p-identity = { version = "0.2.10", git = "https://github.com/autonomys/rust-libp2p", rev = "04c2e649b1f5482b8c3466b0fdbd1815b3126a48" }
842+
libp2p = { version = "0.54.2", git = "https://github.com/autonomys/rust-libp2p", rev = "8053eb9d67664d8770b9ea5e7d458dacab675599" }
843+
libp2p-identity = { version = "0.2.10", git = "https://github.com/autonomys/rust-libp2p", rev = "8053eb9d67664d8770b9ea5e7d458dacab675599" }
844844
libsecp256k1 = { version = "0.7.0", default-features = false }
845845
linked-hash-map = { version = "0.5.4" }
846846
linked_hash_set = { version = "0.1.4" }
@@ -867,7 +867,7 @@ mockall = { version = "0.11.3" }
867867
multiaddr = { version = "0.18.1" }
868868
multihash = { version = "0.19.1", default-features = false }
869869
multihash-codetable = { version = "0.1.1" }
870-
multistream-select = { version = "0.13.0", git = "https://github.com/autonomys/rust-libp2p", rev = "04c2e649b1f5482b8c3466b0fdbd1815b3126a48" }
870+
multistream-select = { version = "0.13.0", git = "https://github.com/autonomys/rust-libp2p", rev = "8053eb9d67664d8770b9ea5e7d458dacab675599" }
871871
names = { version = "0.14.0", default-features = false }
872872
nix = { version = "0.28.0" }
873873
node-cli = { path = "substrate/bin/node/cli", package = "staging-node-cli", version = "3.0.0" }
@@ -1391,8 +1391,8 @@ zstd = { version = "0.12.4", default-features = false }
13911391
[patch.crates-io]
13921392

13931393
# Patch away `libp2p-identity` in our dependency tree with the git version.
1394-
# For details see: https://github.com/autonomys/rust-libp2p/blob/04c2e649b1f5482b8c3466b0fdbd1815b3126a48/Cargo.toml#L140-L145
1395-
libp2p-identity = { git = "https://github.com/autonomys/rust-libp2p", rev = "04c2e649b1f5482b8c3466b0fdbd1815b3126a48" }
1394+
# For details see: https://github.com/autonomys/rust-libp2p/blob/8053eb9d67664d8770b9ea5e7d458dacab675599/Cargo.toml#L140-L145
1395+
libp2p-identity = { git = "https://github.com/autonomys/rust-libp2p", rev = "8053eb9d67664d8770b9ea5e7d458dacab675599" }
13961396

13971397
[profile.release]
13981398
# Polkadot runtime requires unwinding.

0 commit comments

Comments
 (0)