diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-09 21:34:53 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-12 10:37:27 +0800 |
commit | d991291f2af50f13110d487e1f354ff374cf7e00 (patch) | |
tree | 8cfaa05971feefc89de267f24b401cf7dd3150d3 /packages | |
parent | 392fb42973de6a14892827b3b83e5bcf7bccf565 (diff) | |
download | dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar.gz dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar.bz2 dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar.lz dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar.xz dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.tar.zst dexon-0x-contracts-d991291f2af50f13110d487e1f354ff374cf7e00.zip |
Use in-process Ganache in contracts
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contracts/test/utils/web3_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/web3_wrapper.ts b/packages/contracts/test/utils/web3_wrapper.ts index a8fe1532b..74e56d502 100644 --- a/packages/contracts/test/utils/web3_wrapper.ts +++ b/packages/contracts/test/utils/web3_wrapper.ts @@ -1,5 +1,6 @@ import { web3Factory } from '@0xproject/dev-utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; -export const web3 = web3Factory.create(); +const web3ProviderConfig = { useInProcessGanache: true }; +export const web3 = web3Factory.create(web3ProviderConfig); export const web3Wrapper = new Web3Wrapper(web3.currentProvider); |