diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-08-29 16:03:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-29 16:03:00 +0800 |
commit | 07a872f80213a71d17d61a47e7faeee0e87d1822 (patch) | |
tree | 8d29f3f7c180400f48b2b0f150ed603729cc061f /test/ether_token_wrapper_test.ts | |
parent | 05ce9733dadd1f83afa2d96ff55a23cd1477216d (diff) | |
parent | 9516a50f645587bcc79ec5e17b8a353221f1d7e2 (diff) | |
download | dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar.gz dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar.bz2 dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar.lz dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar.xz dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.tar.zst dexon-sol-tools-07a872f80213a71d17d61a47e7faeee0e87d1822.zip |
Merge pull request #139 from 0xProject/feature/gas-price-config
Gas price config
Diffstat (limited to 'test/ether_token_wrapper_test.ts')
-rw-r--r-- | test/ether_token_wrapper_test.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/ether_token_wrapper_test.ts b/test/ether_token_wrapper_test.ts index a8186499c..b40061a41 100644 --- a/test/ether_token_wrapper_test.ts +++ b/test/ether_token_wrapper_test.ts @@ -26,9 +26,13 @@ describe('EtherTokenWrapper', () => { let wethContractAddress: string; let depositWeiAmount: BigNumber.BigNumber; let decimalPlaces: number; + const gasPrice = new BigNumber(1); + const zeroExConfig = { + gasPrice, + }; before(async () => { web3 = web3Factory.create(); - zeroEx = new ZeroEx(web3.currentProvider); + zeroEx = new ZeroEx(web3.currentProvider, zeroExConfig); userAddresses = await promisify(web3.eth.getAccounts)(); addressWithETH = userAddresses[0]; wethContractAddress = await zeroEx.etherToken.getContractAddressAsync(); |