We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e2e79 commit c4e9b82Copy full SHA for c4e9b82
server/l2.go
@@ -333,7 +333,7 @@ func (l2 *L2) processBlock(ctx context.Context, blockNumber uint64) error {
333
metrics.ReorgsCount.Add(ctx, 1)
334
metrics.ReorgDepth.Record(ctx, int64(depth))
335
336
- l.Warn("Chain reorg detected via hash mismatch",
+ l.Info("Finished the unwind",
337
zap.Uint64("reorg_depth", depth),
338
zap.Uint64("old_block_number", l2.unwindByHashHeight),
339
)
@@ -468,6 +468,10 @@ func (l2 *L2) processReorgByHash(ctx context.Context) error {
468
if block.Hash().Cmp(br.Hash) == 0 {
469
return nil
470
}
471
+
472
+ l.Info("Unwinding...",
473
+ zap.Uint64("block_number", l2.blockHeight),
474
+ )
475
476
477
0 commit comments