mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
update gossipsub to the latest upstream revision (#7130)
I feel it's preferable to do this explicitly by updating the revision on `Cargo.toml` rather than implicitly by letting `Cargo.lock` control the revision of the branch.
This commit is contained in:
8
Cargo.lock
generated
8
Cargo.lock
generated
@@ -1915,7 +1915,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "18e4fdb82bd54a12e42fb58a800dcae6b9e13982238ce2296dc3570b92148e1f"
|
||||
dependencies = [
|
||||
"data-encoding",
|
||||
"syn 2.0.100",
|
||||
"syn 1.0.109",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4761,7 +4761,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"windows-targets 0.52.6",
|
||||
"windows-targets 0.48.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4883,8 +4883,8 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "libp2p-gossipsub"
|
||||
version = "0.48.1"
|
||||
source = "git+https://github.com/sigp/rust-libp2p.git?branch=sigp-gossipsub#3e24b1bbec5fae182595aee0958f823be87afaad"
|
||||
version = "0.49.0"
|
||||
source = "git+https://github.com/sigp/rust-libp2p.git?rev=7a36e4c#7a36e4cde83041f1bd5f2078c4d3934ccb16777e"
|
||||
dependencies = [
|
||||
"async-channel 2.3.1",
|
||||
"asynchronous-codec",
|
||||
|
||||
@@ -144,6 +144,7 @@ fnv = "1"
|
||||
fs2 = "0.4"
|
||||
futures = "0.3"
|
||||
graffiti_file = { path = "validator_client/graffiti_file" }
|
||||
gossipsub = { package = "libp2p-gossipsub", git = "https://github.com/sigp/rust-libp2p.git", rev = "7a36e4c" }
|
||||
hex = "0.4"
|
||||
hashlink = "0.9.0"
|
||||
hyper = "1"
|
||||
|
||||
@@ -18,7 +18,7 @@ ethereum_ssz = { workspace = true }
|
||||
ethereum_ssz_derive = { workspace = true }
|
||||
fnv = { workspace = true }
|
||||
futures = { workspace = true }
|
||||
gossipsub = { package = "libp2p-gossipsub", git = "https://github.com/sigp/rust-libp2p.git", branch = "sigp-gossipsub" }
|
||||
gossipsub = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
itertools = { workspace = true }
|
||||
libp2p-mplex = "0.43"
|
||||
|
||||
@@ -996,7 +996,7 @@ impl<E: EthSpec> Network<E> {
|
||||
}
|
||||
}
|
||||
|
||||
if let PublishError::InsufficientPeers = e {
|
||||
if let PublishError::NoPeersSubscribedToTopic = e {
|
||||
self.gossip_cache.insert(topic, message_data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ bls = { workspace = true }
|
||||
eth2 = { workspace = true }
|
||||
eth2_network_config = { workspace = true }
|
||||
genesis = { workspace = true }
|
||||
gossipsub = { package = "libp2p-gossipsub", git = "https://github.com/sigp/rust-libp2p.git", branch = "sigp-gossipsub" }
|
||||
gossipsub = { workspace = true }
|
||||
k256 = "0.13.4"
|
||||
kzg = { workspace = true }
|
||||
matches = "0.1.8"
|
||||
|
||||
Reference in New Issue
Block a user