Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Dec 11, 2024
1 parent 1174942 commit 9edac93
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/scripts/deployStandard.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { instantiateBridge } from './instantiate_bridge'
import dotenv from 'dotenv'
import * as dotenv from 'dotenv'
import args from './getCLargs'
import { constants, BigNumber, utils } from 'ethers'
import { MultiCaller } from '../src'
import axios from 'axios'
import prompt from 'prompts'
import path from 'path'
import * as path from 'path'
dotenv.config({ path: path.resolve(__dirname, '../../../.env') })

const privKey = process.env.PRIVKEY as string
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/scripts/genNetwork.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as dotenv from 'dotenv'
import * as path from 'path'
dotenv.config({ path: path.resolve(__dirname, '../../../.env') })
import { execSync } from 'child_process'
import * as fs from 'fs'
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/scripts/instantiate_bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import { JsonRpcProvider } from '@ethersproject/providers'
import { Wallet } from '@ethersproject/wallet'

import dotenv from 'dotenv'
import * as dotenv from 'dotenv'
import args from './getCLargs'
import { EthBridger, InboxTools, Erc20Bridger } from '../src'
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/scripts/testSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import { JsonRpcProvider } from '@ethersproject/providers'
import { Wallet } from '@ethersproject/wallet'
import { Provider } from '@ethersproject/abstract-provider'
import dotenv from 'dotenv'
import * as dotenv from 'dotenv'

import { EthBridger, InboxTools, Erc20Bridger } from '../src'
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

import { expect } from 'chai'
import { ethers, constants, Wallet } from 'ethers'
import dotenv from 'dotenv'
import path from 'path'
import * as dotenv from 'dotenv'
import * as path from 'path'

import { parseEther, parseUnits } from '@ethersproject/units'

Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/tests/integration/eth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
'use strict'

import { expect } from 'chai'
import dotenv from 'dotenv'
import path from 'path'
import * as dotenv from 'dotenv'
import * as path from 'path'

import { Wallet } from '@ethersproject/wallet'
import { parseEther } from '@ethersproject/units'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'path'
import dotenv from 'dotenv'
import * as path from 'path'
import * as dotenv from 'dotenv'
import { JsonRpcProvider } from '@ethersproject/providers'
import { constants } from 'ethers'
import { expect } from 'chai'
Expand Down

0 comments on commit 9edac93

Please sign in to comment.