Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkx committed Jul 15, 2024
1 parent ca70e38 commit 2bdc2f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/integration/custom-fee-token/customFeeTokenTestHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ import {
} from '../../../scripts/testSetup'
import { Erc20Bridger, EthBridger } from '../../../src'
import { ERC20__factory } from '../../../src/lib/abi/factories/ERC20__factory'
import {
getNativeTokenDecimals,
scaleToNativeTokenDecimals,
} from '../../../src/lib/utils/lib'
import { getNativeTokenDecimals } from '../../../src/lib/utils/lib'

// `config` isn't initialized yet, so we have to wrap these in functions
const ethProvider = () => new StaticJsonRpcProvider(config.ethUrl)
Expand Down Expand Up @@ -54,7 +51,10 @@ export async function fundL1CustomFeeToken(l1SignerOrAddress: Signer | string) {
const tokenContract = ERC20__factory.connect(nativeToken, deployerWallet)
const decimals = await tokenContract.decimals()

const tx = await tokenContract.transfer(address, utils.parseUnits('10', decimals))
const tx = await tokenContract.transfer(
address,
utils.parseUnits('10', decimals)
)
await tx.wait()
}

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/testHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { parseEther } from 'ethers/lib/utils'

import { config, getSigner, testSetup } from '../../scripts/testSetup'

import { Signer, Wallet, constants } from 'ethers'
import { Signer, Wallet } from 'ethers'
import {
Erc20Bridger,
L1ToL2MessageStatus,
Expand Down

0 comments on commit 2bdc2f0

Please sign in to comment.