Skip to content

Commit 9ee6cde

Browse files
change some logs from info to debug
1 parent a49d656 commit 9ee6cde

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

block/submitter.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func handleTooBigError[T any](
381381
attempt int,
382382
namespace []byte,
383383
) submissionOutcome[T] {
384-
m.logger.Warn().Str("error", "blob too big").Int("attempt", attempt).Int("batchSize", len(remaining)).Msg("DA layer submission failed due to blob size limit")
384+
m.logger.Debug().Str("error", "blob too big").Int("attempt", attempt).Int("batchSize", len(remaining)).Msg("DA layer submission failed due to blob size limit")
385385

386386
m.recordDAMetrics("submission", DAModeFail)
387387

@@ -511,7 +511,7 @@ func submitWithRecursiveSplitting[T any](
511511
}
512512

513513
// Split and submit recursively - we know the batch is too big
514-
m.logger.Info().Int("batchSize", len(items)).Msg("splitting batch for recursive submission")
514+
m.logger.Debug().Int("batchSize", len(items)).Msg("splitting batch for recursive submission")
515515

516516
splitPoint := len(items) / 2
517517
// Ensure we actually split (avoid infinite recursion)
@@ -523,7 +523,7 @@ func submitWithRecursiveSplitting[T any](
523523
firstHalfMarshaled := marshaled[:splitPoint]
524524
secondHalfMarshaled := marshaled[splitPoint:]
525525

526-
m.logger.Info().Int("originalSize", len(items)).Int("firstHalf", len(firstHalf)).Int("secondHalf", len(secondHalf)).Msg("splitting batch for recursion")
526+
m.logger.Debug().Int("originalSize", len(items)).Int("firstHalf", len(firstHalf)).Int("secondHalf", len(secondHalf)).Msg("splitting batch for recursion")
527527

528528
// Recursively submit both halves using processBatch directly
529529
firstSubmitted, err := submitHalfBatch[T](m, ctx, firstHalf, firstHalfMarshaled, gasPrice, postSubmit, itemType, namespace)
@@ -645,7 +645,7 @@ func processBatch[T any](
645645

646646
if batchRes.Code == coreda.StatusTooBig && len(batch.Items) > 1 {
647647
// Batch is too big - let the caller handle splitting
648-
m.logger.Info().Int("batchSize", len(batch.Items)).Msg("batch too big, returning to caller for splitting")
648+
m.logger.Debug().Int("batchSize", len(batch.Items)).Msg("batch too big, returning to caller for splitting")
649649
return batchResult[T]{action: batchActionTooBig}
650650
}
651651

0 commit comments

Comments
 (0)