Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-blox committed Dec 8, 2024
1 parent def5046 commit d9587c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon/goclient/attest.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func (gc *GoClient) GetAttestationData(slot phase0.Slot, committeeIndex phase0.C
// Caching resulting value here (as part of inflight request) guarantees only 1 request
// will ever be done for a given slot.
gc.attestationDataCache.Set(slot, resp.Data, ttlcache.DefaultTTL)
gc.log.Debug("called attestation data and set data to cache",
zap.Uint64("slot", uint64(slot)))
return resp.Data, nil
})

Expand Down

0 comments on commit d9587c6

Please sign in to comment.