diff --git a/.changeset/old-poets-camp.md b/.changeset/old-poets-camp.md new file mode 100644 index 000000000000..d7dccdc25184 --- /dev/null +++ b/.changeset/old-poets-camp.md @@ -0,0 +1,5 @@ +--- +'@eth-optimism/chain-mon': patch +--- + +Fixes a bug in the wd-mon service where a node connection failure event was not handled correctly diff --git a/packages/chain-mon/src/wd-mon/service.ts b/packages/chain-mon/src/wd-mon/service.ts index 2ac4be44b83a..c75a772eb407 100644 --- a/packages/chain-mon/src/wd-mon/service.ts +++ b/packages/chain-mon/src/wd-mon/service.ts @@ -142,7 +142,7 @@ export class WithdrawalMonitor extends BaseServiceV2 { section: 'getBlockNumber', }) this.metrics.nodeConnectionFailures.inc({ - chainId: this.state.messenger.l1ChainId, + layer: 'l1', section: 'getBlockNumber', }) await sleep(this.options.sleepTimeMs)