mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Add log capitalization analyzer and apply changes (#15452)
* Add log capitalization analyzer and apply fixes across codebase Implements a new nogo analyzer to enforce proper log message capitalization and applies the fixes to all affected log statements throughout the beacon chain, validator, and supporting components. Co-Authored-By: Claude <noreply@anthropic.com> * Radek's feedback --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -130,7 +130,7 @@ func (s *Service) Start() {
|
||||
log.Info("Waiting for state to be initialized")
|
||||
clock, err := s.cfg.ClockWaiter.WaitForClock(s.ctx)
|
||||
if err != nil {
|
||||
log.WithError(err).Error("initial-sync failed to receive startup event")
|
||||
log.WithError(err).Error("Initial-sync failed to receive startup event")
|
||||
return
|
||||
}
|
||||
s.clock = clock
|
||||
@@ -138,7 +138,7 @@ func (s *Service) Start() {
|
||||
ctxMap, err := sync.ContextByteVersionsForValRoot(clock.GenesisValidatorsRoot())
|
||||
if err != nil {
|
||||
log.WithField("genesisValidatorRoot", clock.GenesisValidatorsRoot()).
|
||||
WithError(err).Error("unable to initialize context version map using genesis validator")
|
||||
WithError(err).Error("Unable to initialize context version map using genesis validator")
|
||||
return
|
||||
}
|
||||
s.ctxMap = ctxMap
|
||||
|
||||
Reference in New Issue
Block a user