diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-30 02:42:44 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-30 02:42:44 +0800 |
commit | 2aea820d89962537cd6b987876f6aa31720c272f (patch) | |
tree | 9f95065b0528a7e5ff0bf712574f8cee84397447 /packages/contracts/test/utils/web3_wrapper.ts | |
parent | 68af0e9eb70151704098350f99437f92639de753 (diff) | |
parent | e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2 (diff) | |
download | dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar.gz dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar.bz2 dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar.lz dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar.xz dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.tar.zst dexon-0x-contracts-2aea820d89962537cd6b987876f6aa31720c272f.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into website/feature/react-16
Diffstat (limited to 'packages/contracts/test/utils/web3_wrapper.ts')
-rw-r--r-- | packages/contracts/test/utils/web3_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/utils/web3_wrapper.ts b/packages/contracts/test/utils/web3_wrapper.ts index acb3103b7..d1cd3d387 100644 --- a/packages/contracts/test/utils/web3_wrapper.ts +++ b/packages/contracts/test/utils/web3_wrapper.ts @@ -1,5 +1,5 @@ import { devConstants, env, EnvVars, web3Factory } from '@0xproject/dev-utils'; -import { prependSubprovider } from '@0xproject/subproviders'; +import { prependSubprovider, Web3ProviderEngine } from '@0xproject/subproviders'; import { logUtils } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as _ from 'lodash'; @@ -47,7 +47,7 @@ const ganacheConfigs = { }; const providerConfigs = testProvider === ProviderType.Ganache ? ganacheConfigs : gethConfigs; -export const provider = web3Factory.getRpcProvider(providerConfigs); +export const provider: Web3ProviderEngine = web3Factory.getRpcProvider(providerConfigs); const isCoverageEnabled = env.parseBoolean(EnvVars.SolidityCoverage); const isProfilerEnabled = env.parseBoolean(EnvVars.SolidityProfiler); const isRevertTraceEnabled = env.parseBoolean(EnvVars.SolidityRevertTrace); |