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:
João Oliveira
2025-03-17 00:22:19 +00:00
committed by GitHub
parent 574b204bdb
commit c095a0a58f
5 changed files with 8 additions and 7 deletions

View File

@@ -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"

View File

@@ -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);
}
}