diff options
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index fe754c679..5f1d3111b 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -88,10 +88,11 @@ describe('Exchange', () => { await erc20Proxy.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, { from: owner, }); + const prevERC20ProxyAddress = ZeroEx.NULL_ADDRESS; await assetProxyDispatcher.addAssetProxy.sendTransactionAsync( AssetProxyId.ERC20, erc20Proxy.address, - ZeroEx.NULL_ADDRESS, + prevERC20ProxyAddress, { from: owner }, ); // Deploy ERC721 Proxy @@ -100,10 +101,11 @@ describe('Exchange', () => { await erc721Proxy.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, { from: owner, }); + const prevERC721ProxyAddress = ZeroEx.NULL_ADDRESS; await assetProxyDispatcher.addAssetProxy.sendTransactionAsync( AssetProxyId.ERC721, erc721Proxy.address, - ZeroEx.NULL_ADDRESS, + prevERC721ProxyAddress, { from: owner }, ); // Deploy and configure Exchange |