This commit is contained in:
Tan Chee Keong
2025-04-01 21:12:33 +08:00
parent 41422b1326
commit 8fd345c877

View File

@@ -504,14 +504,14 @@ pub async fn fill_in_aggregation_proofs<T: SlotClock + 'static, E: EthSpec>(
current_slot: Slot, current_slot: Slot,
pre_compute_slot: Slot, pre_compute_slot: Slot,
) { ) {
// Generate selection proofs for each validator at each slot, one slot at a time.
for slot in (current_slot.as_u64()..=pre_compute_slot.as_u64()).map(Slot::new) {
debug!( debug!(
period = sync_committee_period, period = sync_committee_period,
%current_slot, %current_slot,
%pre_compute_slot, %pre_compute_slot,
"Calculating sync selection proofs" "Calculating sync selection proofs"
); );
// Generate selection proofs for each validator at each slot, one slot at a time.
for slot in (current_slot.as_u64()..=pre_compute_slot.as_u64()).map(Slot::new) {
if !duties_service.distributed { if !duties_service.distributed {
// For non-distributed mode // For non-distributed mode
let mut validator_proofs = vec![]; let mut validator_proofs = vec![];