Skip to content

Commit f856c05

Browse files
committed
logs restored
1 parent a8486d4 commit f856c05

File tree

1 file changed

+18
-0
lines changed
  • validator_client/validator_services/src

1 file changed

+18
-0
lines changed

validator_client/validator_services/src/sync.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,18 @@ pub async fn fill_in_aggregation_proofs<S: ValidatorStore, T: SlotClock + 'stati
608608
// Generate selection proofs for each validator at each slot, one slot at a time.
609609
for slot in (start_slot..=pre_compute_slot.as_u64()).map(Slot::new) {
610610
let mut futures_unordered = FuturesUnordered::new();
611+
if !duties_service
612+
.sync_duties
613+
.selection_proof_config
614+
.parallel_sign
615+
{
616+
debug!(
617+
period = sync_committee_period,
618+
%current_slot,
619+
%pre_compute_slot,
620+
"Calculating sync selection proofs"
621+
);
622+
}
611623

612624
for (validator_start_slot, duty) in pre_compute_duties {
613625
if slot < *validator_start_slot {
@@ -670,6 +682,12 @@ pub async fn fill_in_aggregation_proofs<S: ValidatorStore, T: SlotClock + 'stati
670682
.proofs
671683
.write()
672684
.insert((proof_slot, subnet_id), proof);
685+
} else {
686+
debug!(
687+
validator_index,
688+
period = sync_committee_period,
689+
"Missing sync duty to update"
690+
);
673691
}
674692
}
675693
Ok(false) => {} // Not an aggregator

0 commit comments

Comments
 (0)