Commit b11dbafa authored by Ethnical's avatar Ethnical Committed by GitHub

chore: fault-mon fix on the L2_ORACLE() using the l2Oracle() for custom chain (#10551)

parent 70c7e4da
...@@ -151,7 +151,7 @@ export class FaultDetector extends BaseServiceV2<Options, Metrics, State> { ...@@ -151,7 +151,7 @@ export class FaultDetector extends BaseServiceV2<Options, Metrics, State> {
address: portalAddress, address: portalAddress,
signerOrProvider: this.options.l1RpcProvider, signerOrProvider: this.options.l1RpcProvider,
}) })
contracts.L2OutputOracle = await portalContract.L2_ORACLE() contracts.L2OutputOracle = await portalContract.l2Oracle()
} }
// ... for a known chain ids without an override, the L2OutputOracle will already // ... for a known chain ids without an override, the L2OutputOracle will already
......
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