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 | |
parent | a6a16017997fbe53ac709f2f0d874e348da35621 (diff) | |
download | dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.gz dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.bz2 dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.lz dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.xz dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.tar.zst dexon-sol-tools-dcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e.zip |
Specify gasPrice in WETH tests
-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(); |