Commit 759473bb authored by Will Cory's avatar Will Cory Committed by GitHub

Merge pull request #6129 from ethereum-optimism/fix/linting-fault-detector

lint: fix
parents 7f5b9ea7 fe28aa22
...@@ -23,7 +23,9 @@ export const findOutputForIndex = async ( ...@@ -23,7 +23,9 @@ export const findOutputForIndex = async (
l2OutputIndex: index, l2OutputIndex: index,
} }
} catch (err) { } catch (err) {
logger?.fatal('error when calling L2OuputOracle.getL2Output', { errors: err }) logger?.fatal('error when calling L2OuputOracle.getL2Output', {
errors: err,
})
throw new Error(`unable to find output for index ${index}`) throw new Error(`unable to find output for index ${index}`)
} }
} }
......
...@@ -6,7 +6,12 @@ import { ...@@ -6,7 +6,12 @@ import {
validators, validators,
waitForProvider, waitForProvider,
} from '@eth-optimism/common-ts' } from '@eth-optimism/common-ts'
import { BedrockOutputData, getChainId, sleep, toRpcHexString } from '@eth-optimism/core-utils' import {
BedrockOutputData,
getChainId,
sleep,
toRpcHexString,
} from '@eth-optimism/core-utils'
import { config } from 'dotenv' import { config } from 'dotenv'
import { import {
CONTRACT_ADDRESSES, CONTRACT_ADDRESSES,
......
...@@ -5,10 +5,7 @@ import { getContractFactory } from '@eth-optimism/contracts-bedrock' ...@@ -5,10 +5,7 @@ import { getContractFactory } from '@eth-optimism/contracts-bedrock'
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers'
import { expect } from './setup' import { expect } from './setup'
import { import { findOutputForIndex, findFirstUnfinalizedStateBatchIndex } from '../src'
findOutputForIndex,
findFirstUnfinalizedStateBatchIndex,
} from '../src'
describe('helpers', () => { describe('helpers', () => {
const deployConfig = { const deployConfig = {
......
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