Subscribe blob topics (#4224)

This commit is contained in:
Pawan Dhananjay
2023-04-22 06:21:09 -07:00
committed by GitHub
parent b6c0e91c05
commit 7a36d004e4
3 changed files with 27 additions and 9 deletions

View File

@@ -690,7 +690,9 @@ impl<T: BeaconChainTypes> NetworkService<T> {
}
let mut subscribed_topics: Vec<GossipTopic> = vec![];
for topic_kind in core_topics_to_subscribe(self.fork_context.current_fork()) {
for topic_kind in
core_topics_to_subscribe::<T::EthSpec>(self.fork_context.current_fork())
{
for fork_digest in self.required_gossip_fork_digests() {
let topic = GossipTopic::new(
topic_kind.clone(),