Skip to content

Commit 43ae790

Browse files
committed
Add fulu test
1 parent 521cdd5 commit 43ae790

File tree

1 file changed

+3
-2
lines changed
  • beacon_node/lighthouse_network/src/types

1 file changed

+3
-2
lines changed

beacon_node/lighthouse_network/src/types/topics.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,14 +501,15 @@ mod tests {
501501
type E = MainnetEthSpec;
502502
let spec = E::default_spec();
503503
let mut all_topics = Vec::new();
504-
let sampling_subnets = HashSet::new();
505504
let topic_config = TopicConfig {
506505
subscribe_all_data_column_subnets: false,
507-
sampling_subnets: &sampling_subnets,
506+
sampling_subnets: &HashSet::from_iter([1, 2].map(DataColumnSubnetId::new)),
508507
};
508+
let mut fulu_core_topics = fork_core_topics::<E>(&ForkName::Fulu, &spec, &topic_config);
509509
let mut electra_core_topics =
510510
fork_core_topics::<E>(&ForkName::Electra, &spec, &topic_config);
511511
let mut deneb_core_topics = fork_core_topics::<E>(&ForkName::Deneb, &spec, &topic_config);
512+
all_topics.append(&mut fulu_core_topics);
512513
all_topics.append(&mut electra_core_topics);
513514
all_topics.append(&mut deneb_core_topics);
514515
all_topics.extend(CAPELLA_CORE_TOPICS);

0 commit comments

Comments
 (0)