File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
validator_client/validator_services/src Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments