mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Make Initial Sync Failures Debug (#6930)
* shift to debug logs * Merge branch 'master' into makeFailuresDebug * go sum * Merge branch 'master' into makeFailuresDebug * Merge branch 'master' into makeFailuresDebug * Merge refs/heads/master into makeFailuresDebug
This commit is contained in:
@@ -69,13 +69,13 @@ func (s *Service) roundRobinSync(genesis time.Time) error {
|
||||
// Use Batch Block Verify to process and verify batches directly.
|
||||
if featureconfig.Get().BatchBlockVerify {
|
||||
if err := s.processBatchedBlocks(ctx, genesis, fetchedBlocks, batchReceiver); err != nil {
|
||||
log.WithError(err).Info("Batch is not processed")
|
||||
log.WithError(err).Debug("Batch is not processed")
|
||||
}
|
||||
continue
|
||||
}
|
||||
for _, blk := range fetchedBlocks {
|
||||
if err := s.processBlock(ctx, genesis, blk, blockReceiver); err != nil {
|
||||
log.WithError(err).Info("Block is not processed")
|
||||
log.WithError(err).Debug("Block is not processed")
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user