Skip to content

Commit b8015ee

Browse files
authored
Merge pull request #3507 from autonomys/req-resp-dial-cond-failure
libp2p-req-resp: don't fail request on DialError::DialPeerConditionFalse
2 parents 3dc71ad + beaa92d commit b8015ee

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

Cargo.lock

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ hwlocality = "1.0.0-alpha.6"
9292
jsonrpsee = "0.24.5"
9393
kzg = { git = "https://github.com/grandinetech/rust-kzg", rev = "6c8fcc623df3d7e8c0f30951a49bfea764f90bf4", default-features = false }
9494
libc = "0.2.159"
95-
libp2p = { version = "0.54.2", git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1", default-features = false }
96-
libp2p-swarm-test = { version = "0.5.0", git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1" }
95+
libp2p = { version = "0.54.2", git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf", default-features = false }
96+
libp2p-swarm-test = { version = "0.5.0", git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf" }
9797
libsecp256k1 = "0.7.1"
9898
log = { version = "0.4.22", default-features = false }
9999
memmap2 = "0.9.5"
@@ -417,11 +417,11 @@ substrate-bip39 = "0.6.0"
417417
# This is a hack: patches to the same repository are rejected by `cargo`. But it considers
418418
# "subspace/rust-libp2p" and "autonomys/rust-libp2p" to be different repositories, even though
419419
# they're redirected to the same place by GitHub, so it allows this patch.
420-
libp2p = { git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1" }
421-
libp2p-identity = { git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1" }
422-
multistream-select = { git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1" }
420+
libp2p = { git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf" }
421+
libp2p-identity = { git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf" }
422+
multistream-select = { git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf" }
423423

424424
[patch.crates-io]
425425
# Patch away `libp2p-identity` in our dependency tree with the git version.
426-
# For details see: https://github.com/subspace/rust-libp2p/blob/399c4c7fcba821a7bac2663e090a7b155b08ebe1/Cargo.toml#L140-L145
427-
libp2p-identity = { git = "https://github.com/subspace/rust-libp2p", rev = "399c4c7fcba821a7bac2663e090a7b155b08ebe1" }
426+
# For details see: https://github.com/subspace/rust-libp2p/blob/4ff21ede371f14ea0b90075f676ae21239ef8fbf/Cargo.toml#L140-L145
427+
libp2p-identity = { git = "https://github.com/subspace/rust-libp2p", rev = "4ff21ede371f14ea0b90075f676ae21239ef8fbf" }

0 commit comments

Comments
 (0)