aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 18:06:12 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-29 16:01:13 +0800
commitdcfc0ecac6fe1b4f88ca81c91070b585ba00ac1e (patch)
tree7da228d68277c88b5cb13aa6b57956d3cc075ce9 /test
parenta6a16017997fbe53ac709f2f0d874e348da35621 (diff)
downloaddexon-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
Diffstat (limited to 'test')
-rw-r--r--test/ether_token_wrapper_test.ts3
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();