diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 18:06:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-29 16:01:13 +0800 |
commit | dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (patch) | |
tree | 7da228d68277c88b5cb13aa6b57956d3cc075ce9 /test | |
parent | a6a16017997fbe53ac709f2f0d874e348da35621 (diff) | |
download | dexon-0x-contracts-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.gz dexon-0x-contracts-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.zst dexon-0x-contracts-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.zip |
Specify gasPrice in WETH tests
Diffstat (limited to 'test')
-rw-r--r-- | test/ether_token_wrapper_test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ether_token_wrapper_test.ts b/test/ether_token_wrapper_test.ts index a8186499c..e93bab02c 100644 --- a/test/ether_token_wrapper_test.ts +++ b/test/ether_token_wrapper_test.ts @@ -26,9 +26,10 @@ describe('EtherTokenWrapper', () => { let wethContractAddress: string; let depositWeiAmount: BigNumber.BigNumber; let decimalPlaces: number; + const gasPrice = new BigNumber(1); before(async () => { web3 = web3Factory.create(); - zeroEx = new ZeroEx(web3.currentProvider); + zeroEx = new ZeroEx(web3.currentProvider, gasPrice); userAddresses = await promisify(web3.eth.getAccounts)(); addressWithETH = userAddresses[0]; wethContractAddress = await zeroEx.etherToken.getContractAddressAsync(); |