Commit 50b47671 authored by protolambda's avatar protolambda Committed by GitHub

op-node: span-batch logging stye fixes

Co-authored-by: default avatarAdrian Sutton <adrian@oplabs.co>
parent d5f9ebfe
......@@ -247,7 +247,7 @@ batchLoop:
remaining = append(remaining, batch)
continue
case BatchDrop:
batch.Batch.LogContext(bq.log).Warn("dropping batch",
batch.Batch.LogContext(bq.log).Warn("Dropping batch",
"l2_safe_head", l2SafeHead.ID(),
"l2_safe_head_time", l2SafeHead.Time,
)
......
......@@ -53,7 +53,7 @@ func CheckBatch(ctx context.Context, cfg *rollup.Config, log log.Logger, l1Block
}
return checkSpanBatch(ctx, cfg, log, l1Blocks, l2SafeHead, spanBatch, batch.L1InclusionBlock, l2Fetcher)
default:
log.Warn("unrecognized batch type: %d", batch.Batch.GetBatchType())
log.Warn("Unrecognized batch type: %d", batch.Batch.GetBatchType())
return BatchDrop
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment