diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-18 03:01:33 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:18 +0800 |
commit | 0e3544e1f997d57089023e65ea9030270914e8eb (patch) | |
tree | fa9e735bef10c7aeebfa1bd57817b29043fa71c2 /packages/contracts/test/exchange/wrapper.ts | |
parent | f4589b5bd4517cecc017bde91b0de9efbe75888b (diff) | |
download | dexon-sol-tools-0e3544e1f997d57089023e65ea9030270914e8eb.tar.gz dexon-sol-tools-0e3544e1f997d57089023e65ea9030270914e8eb.tar.zst dexon-sol-tools-0e3544e1f997d57089023e65ea9030270914e8eb.zip |
Miscellaneous style changes to the contracts package; specifically tests
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 |