Skip to content

Commit 6a6275f

Browse files
authored
IL3 Remove redundant "Walking back L1Block" and "will retry" logs (#221)
* Remove logs * Restore driver log * Remove retry log * Restore a log
1 parent bd1be32 commit 6a6275f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

op-node/rollup/sync/start.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ func FindL2Heads(ctx context.Context, cfg *rollup.Config, l1 L1Chain, l2 L2Chain
165165
// Exit, find-sync start should start over, to move to an available L1 chain with block-by-number / not-found case.
166166
return nil, fmt.Errorf("failed to retrieve L1 block: %w", err)
167167
}
168-
lgr.Info("Walking back L1Block by hash", "curr", l1Block, "next", b, "l2block", n)
168+
// TODO: Fix upstream compatibility for logs.
169+
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=true>
169170
l1Block = b
170171
ahead = false
171172
} else if l1Block == (eth.L1BlockRef{}) || n.L1Origin.Hash != l1Block.Hash {
@@ -177,7 +178,8 @@ func FindL2Heads(ctx context.Context, cfg *rollup.Config, l1 L1Chain, l2 L2Chain
177178
}
178179
l1Block = b
179180
ahead = notFound
180-
lgr.Info("Walking back L1Block by number", "curr", l1Block, "next", b, "l2block", n)
181+
// TODO: Fix upstream compatibility for logs.
182+
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=true>
181183
}
182184

183185
lgr.Trace("walking sync start", "l2block", n)

op-service/txmgr/txmgr.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,8 @@ func (m *SimpleTxManager) prepare(ctx context.Context, candidate TxCandidate) (*
323323
return nil, ErrClosed
324324
}
325325
tx, err := m.craftTx(ctx, candidate)
326-
if err != nil {
327-
m.l.Warn("Failed to create a transaction, will retry", "err", err)
328-
}
326+
// TODO: Fix upstream compatibility for logs.
327+
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=tr
329328
return tx, err
330329
})
331330
if err != nil {

0 commit comments

Comments
 (0)