diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-10 14:34:00 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:38:33 +0800 |
commit | 0e1cd9784b577d4ec3a9f306df9e63d7866f356d (patch) | |
tree | a00acee80e4db6a804771908a1cfe4c3fdadfd82 /packages/contract-wrappers/test | |
parent | 6d79e3026605eee2f6d0fc4ee538147aeee72107 (diff) | |
download | dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.gz dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.zst dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.zip |
Use contractAddresses directly in revert_validation_test.ts
Diffstat (limited to 'packages/contract-wrappers/test')
-rw-r--r-- | packages/contract-wrappers/test/revert_validation_test.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/contract-wrappers/test/revert_validation_test.ts b/packages/contract-wrappers/test/revert_validation_test.ts index c5673bb61..4f55c75a6 100644 --- a/packages/contract-wrappers/test/revert_validation_test.ts +++ b/packages/contract-wrappers/test/revert_validation_test.ts @@ -60,16 +60,14 @@ describe('Revert Validation ExchangeWrapper', () => { blockPollingIntervalMs: 10, }; contractWrappers = new ContractWrappers(provider, config); - exchangeContractAddress = contractWrappers.exchange.address; userAddresses = await web3Wrapper.getAvailableAddressesAsync(); - zrxTokenAddress = contractWrappers.exchange.zrxTokenAddress; fillScenarios = new FillScenarios( provider, userAddresses, - zrxTokenAddress, - exchangeContractAddress, - contractWrappers.erc20Proxy.address, - contractWrappers.erc721Proxy.address, + contractAddresses.zrxToken, + contractAddresses.exchange, + contractAddresses.erc20Proxy, + contractAddresses.erc721Proxy, ); [, makerAddress, takerAddress] = userAddresses; [makerTokenAddress, takerTokenAddress] = tokenUtils.getDummyERC20TokenAddresses(); |