Commit b33208a8 authored by Mark Tyneway's avatar Mark Tyneway

data-transport-layer: better logging around shutoff block

Adds logging that will make it obvious that the shutoff block
has been reached. Without this logging, it may be possible
to mistake that the shutoff block has been reached because it
has been set.
parent 8b66885c
---
'@eth-optimism/data-transport-layer': patch
---
Add better logging to DTL about shutoff block
...@@ -277,6 +277,12 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> { ...@@ -277,6 +277,12 @@ export class L1IngestionService extends BaseService<L1IngestionServiceOptions> {
depositTargetL1Block, depositTargetL1Block,
handleEventsTransactionEnqueued handleEventsTransactionEnqueued
) )
} else {
this.logger.info('Deposit shutoff reached', {
depositTargetL1Block,
highestSyncedL1Block,
depositShutoffBlock,
})
} }
await this._syncEvents( await this._syncEvents(
......
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