mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 22:08:30 +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:
@@ -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