Rename block by range request log (#13561)

This commit is contained in:
terence
2024-02-03 11:20:04 -08:00
committed by GitHub
parent e3ce1bde45
commit 61ab4bf7ca

View File

@@ -30,7 +30,7 @@ func (s *Service) beaconBlocksByRangeRPCHandler(ctx context.Context, msg interfa
if !ok {
return errors.New("message is not type *pb.BeaconBlockByRangeRequest")
}
log.WithField("start-slot", m.StartSlot).WithField("count", m.Count).Debug("BeaconBlocksByRangeRequest")
log.WithField("startSlot", m.StartSlot).WithField("count", m.Count).Debug("Serving block by range request")
rp, err := validateRangeRequest(m, s.cfg.clock.CurrentSlot())
if err != nil {
s.writeErrorResponseToStream(responseCodeInvalidRequest, err.Error(), stream)