aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-16 20:27:34 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-16 20:27:34 +0800
commit6c21ddcedba28f00429b8e57af60459b59ac92df (patch)
treee27df69b904bd8573de8540de5ca32980b5f961c
parentd86349658f3156c9bf7cfc9af90155f8faeb7743 (diff)
downloaddexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar.gz
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar.bz2
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar.lz
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar.xz
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.tar.zst
dexon-0x-contracts-6c21ddcedba28f00429b8e57af60459b59ac92df.zip
Pass erc721ProxyAddress to fillScenarios
-rw-r--r--packages/contract-wrappers/test/exchange_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts
index 33da19aee..44f8a5680 100644
--- a/packages/contract-wrappers/test/exchange_wrapper_test.ts
+++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts
@@ -53,7 +53,6 @@ describe('ExchangeWrapper', () => {
await blockchainLifecycle.startAsync();
contractWrappers = new ContractWrappers(provider, config);
exchangeContractAddress = contractWrappers.exchange.getContractAddress();
- const erc20ProxyAddress = contractWrappers.erc20Proxy.getContractAddress();
userAddresses = await web3Wrapper.getAvailableAddressesAsync();
zrxTokenAddress = tokenUtils.getProtocolTokenAddress();
fillScenarios = new FillScenarios(
@@ -61,7 +60,8 @@ describe('ExchangeWrapper', () => {
userAddresses,
zrxTokenAddress,
exchangeContractAddress,
- erc20ProxyAddress,
+ contractWrappers.erc20Proxy.getContractAddress(),
+ contractWrappers.erc721Proxy.getContractAddress(),
);
[coinbase, makerAddress, takerAddress, feeRecipient, anotherMakerAddress] = userAddresses;
[makerTokenAddress, takerTokenAddress] = tokenUtils.getDummyERC20TokenAddresses();