Commit 6b43eaa0 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

Merge pull request #2222 from ethereum-optimism/inphi/dtl-obs

dtl: Periodically log current l2 sync
parents 1ca7df74 e63f3b61
---
'@eth-optimism/data-transport-layer': patch
---
Add logs displaying current sync from l2
......@@ -119,6 +119,13 @@ export class L2IngestionService extends BaseService<L2IngestionServiceOptions> {
highestSyncedL2BlockNumber === targetL2Block ||
currentL2Block === 0
) {
this.logger.info(
'All Layer 2 (Optimism) transactions are synchronized',
{
currentL2Block,
targetL2Block,
}
)
await sleep(this.options.pollingInterval)
continue
}
......
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