Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions op-node/rollup/sync/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ func FindL2Heads(ctx context.Context, cfg *rollup.Config, l1 L1Chain, l2 L2Chain
// Exit, find-sync start should start over, to move to an available L1 chain with block-by-number / not-found case.
return nil, fmt.Errorf("failed to retrieve L1 block: %w", err)
}
lgr.Info("Walking back L1Block by hash", "curr", l1Block, "next", b, "l2block", n)
// TODO: Fix upstream compatibility for logs.
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=true>
Comment thread
dailinsubjam marked this conversation as resolved.
l1Block = b
ahead = false
} else if l1Block == (eth.L1BlockRef{}) || n.L1Origin.Hash != l1Block.Hash {
Expand All @@ -177,7 +178,8 @@ func FindL2Heads(ctx context.Context, cfg *rollup.Config, l1 L1Chain, l2 L2Chain
}
l1Block = b
ahead = notFound
lgr.Info("Walking back L1Block by number", "curr", l1Block, "next", b, "l2block", n)
// TODO: Fix upstream compatibility for logs.
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=true>
}

lgr.Trace("walking sync start", "l2block", n)
Expand Down
5 changes: 2 additions & 3 deletions op-service/txmgr/txmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,8 @@ func (m *SimpleTxManager) prepare(ctx context.Context, candidate TxCandidate) (*
return nil, ErrClosed
}
tx, err := m.craftTx(ctx, candidate)
if err != nil {
m.l.Warn("Failed to create a transaction, will retry", "err", err)
}
// TODO: Fix upstream compatibility for logs.
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=tr
return tx, err
})
if err != nil {
Expand Down