aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-10 14:34:00 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 04:38:33 +0800
commit0e1cd9784b577d4ec3a9f306df9e63d7866f356d (patch)
treea00acee80e4db6a804771908a1cfe4c3fdadfd82 /packages
parent6d79e3026605eee2f6d0fc4ee538147aeee72107 (diff)
downloaddexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.gz
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.bz2
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.lz
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.xz
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.tar.zst
dexon-sol-tools-0e1cd9784b577d4ec3a9f306df9e63d7866f356d.zip
Use contractAddresses directly in revert_validation_test.ts
Diffstat (limited to 'packages')
-rw-r--r--packages/contract-wrappers/test/revert_validation_test.ts10
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();