diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-27 16:27:52 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-06-29 22:52:52 +0800 |
commit | 52d14072154ab772d6cc5ccd1ff242434ff3a448 (patch) | |
tree | 4852f3a9b5ef42cce406108532c7dd032d570335 /packages/contract-wrappers/test/utils | |
parent | ecb735634553050d094c73f3474fae1396ee77e0 (diff) | |
download | dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar.gz dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar.bz2 dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar.lz dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar.xz dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.tar.zst dexon-0x-contracts-52d14072154ab772d6cc5ccd1ff242434ff3a448.zip |
Export txDefaults from web3_wrapper.ts
Diffstat (limited to 'packages/contract-wrappers/test/utils')
-rw-r--r-- | packages/contract-wrappers/test/utils/web3_wrapper.ts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/contract-wrappers/test/utils/web3_wrapper.ts b/packages/contract-wrappers/test/utils/web3_wrapper.ts index f7d11f138..641444539 100644 --- a/packages/contract-wrappers/test/utils/web3_wrapper.ts +++ b/packages/contract-wrappers/test/utils/web3_wrapper.ts @@ -1,8 +1,12 @@ -import { web3Factory } from '@0xproject/dev-utils'; -import { Provider } from '@0xproject/types'; +import { devConstants, web3Factory } from '@0xproject/dev-utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; +import { Provider } from 'ethereum-types'; +const txDefaults = { + from: devConstants.TESTRPC_FIRST_ADDRESS, + gasLimit: devConstants.GAS_LIMIT, +}; const provider: Provider = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true }); const web3Wrapper = new Web3Wrapper(provider); -export { provider, web3Wrapper }; +export { provider, web3Wrapper, txDefaults }; |