test progress

This commit is contained in:
Eitan Seri-Levi
2025-02-06 13:38:33 +02:00
parent 7414f485a3
commit 51984ab54d
6 changed files with 37 additions and 13 deletions

View File

@@ -338,6 +338,10 @@ impl<T: SlotClock + 'static, E: EthSpec> DutiesService<T, E> {
pub fn inclusion_list_duties(&self, slot: Slot) -> Vec<InclusionListDutyData> {
let epoch = slot.epoch(E::slots_per_epoch());
if !self.spec.is_focil_enabled_for_epoch(epoch) {
return vec![]
}
// Only collect validators that are considered safe in terms of doppelganger protection.
let signing_pubkeys: HashSet<_> = self
.validator_store