File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
validator_client/validator_services/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -512,8 +512,12 @@ pub async fn fill_in_aggregation_proofs<S: ValidatorStore, T: SlotClock + 'stati
512
512
"Calculating sync selection proofs"
513
513
) ;
514
514
515
+ // Start at the next slot, as aggregation proofs for the duty at the current slot are no longer
516
+ // required since we do the actual aggregation in the slot before the duty slot.
517
+ let start_slot = current_slot. as_u64 ( ) + 1 ;
518
+
515
519
// Generate selection proofs for each validator at each slot, one slot at a time.
516
- for slot in ( current_slot . as_u64 ( ) ..=pre_compute_slot. as_u64 ( ) ) . map ( Slot :: new) {
520
+ for slot in ( start_slot ..=pre_compute_slot. as_u64 ( ) ) . map ( Slot :: new) {
517
521
let mut validator_proofs = vec ! [ ] ;
518
522
for ( validator_start_slot, duty) in pre_compute_duties {
519
523
// Proofs are already known at this slot for this validator.
You can’t perform that action at this time.
0 commit comments