From 5dc8eb45d36538e3b9eb12e7e162557533d7c967 Mon Sep 17 00:00:00 2001 From: terence tsao Date: Mon, 4 Jan 2021 13:10:32 -0800 Subject: [PATCH] Add slot in epoch field for `Attestation schedule..." log (#8166) Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> --- validator/client/validator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/validator/client/validator.go b/validator/client/validator.go index e22189b1c..6b021e9cb 100644 --- a/validator/client/validator.go +++ b/validator/client/validator.go @@ -594,6 +594,7 @@ func (v *validator) logDuties(slot uint64, duties []*ethpb.DutiesResponse_Duty) if len(attesterKeys[i]) > 0 { log.WithFields(logrus.Fields{ "slot": slotOffset + i, + "slotInEpoch": (slotOffset + i) % params.BeaconConfig().SlotsPerEpoch, "attesterDutiesAtSlot": len(attesterKeys[i]), "totalAttestersInEpoch": totalAttestingKeys, "pubKeys": attesterKeys[i],