Commit 10d9426f authored by Will Cory's avatar Will Cory

fix: call dotenv.config()

parent 594d2ba0
......@@ -7,6 +7,7 @@ import {
waitForProvider,
} from '@eth-optimism/common-ts'
import { getChainId, sleep, toRpcHexString } from '@eth-optimism/core-utils'
import { config } from 'dotenv'
import {
CONTRACT_ADDRESSES,
CrossChainMessenger,
......@@ -553,6 +554,7 @@ export class FaultDetector extends BaseServiceV2<Options, Metrics, State> {
}
if (require.main === module) {
config()
const service = new FaultDetector()
service.run()
}
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