Commit 48cf1e31 authored by Annie Ke's avatar Annie Ke Committed by GitHub

fix: run yarn lint:fix (#534)

* fix: run yarn lint:fix
parent 8a2c24a9
import { ethers } from 'hardhat'
import { injectL2Context } from '@eth-optimism/core-utils'
import { expect } from 'chai'
import { sleep, l2Provider, l1Provider, getAddressManager } from './shared/utils'
import {
sleep,
l2Provider,
l1Provider,
getAddressManager,
} from './shared/utils'
import { OptimismEnv } from './shared/env'
import { getContractFactory } from '@eth-optimism/contracts'
import { Contract, ContractFactory, Wallet, BigNumber } from 'ethers'
......@@ -41,12 +46,12 @@ describe('OVM Context: Layer 2 EVM Context', () => {
'OVM_CanonicalTransactionChain'
)
const CanonicalTransactionChainFactory = getContractFactory(
'OVM_CanonicalTransactionChain',
'OVM_CanonicalTransactionChain'
)
CanonicalTransactionChain = CanonicalTransactionChainFactory
.connect(l1Wallet)
.attach(ctcAddress)
CanonicalTransactionChain = CanonicalTransactionChainFactory.connect(
l1Wallet
).attach(ctcAddress)
const OVMMulticallFactory = await ethers.getContractFactory(
'OVMMulticall',
......
......@@ -7,7 +7,7 @@ import { OptimismEnv } from './shared/env'
chai.use(chaiAsPromised)
describe('Basic RPC tests', () => {
let env: OptimismEnv;
let env: OptimismEnv
const DEFAULT_TRANSACTION = {
to: '0x' + '1234'.repeat(10),
......
......@@ -6,7 +6,7 @@ import {
fromHexString,
toHexString,
TxType,
EventArgsSequencerBatchAppended
EventArgsSequencerBatchAppended,
} from '@eth-optimism/core-utils'
/* Imports: Internal */
......
......@@ -5,7 +5,7 @@ import { BigNumber } from 'ethers'
/* Imports: Internal */
import {
StateRootBatchEntry,
StateRootBatchEntry,
StateBatchAppendedExtraData,
StateBatchAppendedParsedEvent,
StateRootEntry,
......
import {EventArgsTransactionEnqueued} from '@eth-optimism/core-utils'
import { EventArgsTransactionEnqueued } from '@eth-optimism/core-utils'
/* Imports: Internal */
import { BigNumber } from 'ethers'
import {
EnqueueEntry,
EventHandlerSet,
} from '../../../types'
import { EnqueueEntry, EventHandlerSet } from '../../../types'
export const handleEventsTransactionEnqueued: EventHandlerSet<
EventArgsTransactionEnqueued,
......
/* Imports: External */
import { fromHexString, BaseService, EventArgsAddressSet } from '@eth-optimism/core-utils'
import {
fromHexString,
BaseService,
EventArgsAddressSet,
} from '@eth-optimism/core-utils'
import { JsonRpcProvider } from '@ethersproject/providers'
import { LevelUp } from 'levelup'
......@@ -12,10 +16,7 @@ import {
loadContract,
validators,
} from '../../utils'
import {
TypedEthersEvent,
EventHandlerSet,
} from '../../types'
import { TypedEthersEvent, EventHandlerSet } from '../../types'
import { handleEventsTransactionEnqueued } from './handlers/transaction-enqueued'
import { handleEventsSequencerBatchAppended } from './handlers/sequencer-batch-appended'
import { handleEventsStateBatchAppended } from './handlers/state-batch-appended'
......
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