diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-11 13:44:30 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | adad76eca6e2689439499adff9e03176df4ce303 (patch) | |
tree | 39427d194e8824baf9fec2ae074697dd8cb34b1f /packages/contracts/test/exchange/wrapper.ts | |
parent | 772bb652370c41a5d5583382dc67b0a13d7fd8a8 (diff) | |
download | dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar.gz dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar.bz2 dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar.lz dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar.xz dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.tar.zst dexon-sol-tools-adad76eca6e2689439499adff9e03176df4ce303.zip |
Removed unnecessary assetProxyManagerAddress
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index f993eb2d3..708ac5562 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -38,7 +38,6 @@ describe('Exchange', () => { let tokenOwner: string; let takerAddress: string; let feeRecipientAddress: string; - let assetProxyManagerAddress: string; const INITIAL_BALANCE = ZeroEx.toBaseUnitAmount(new BigNumber(10000), 18); const INITIAL_ALLOWANCE = ZeroEx.toBaseUnitAmount(new BigNumber(10000), 18); @@ -62,7 +61,7 @@ describe('Exchange', () => { before(async () => { const accounts = await web3Wrapper.getAvailableAddressesAsync(); tokenOwner = accounts[0]; - [makerAddress, takerAddress, feeRecipientAddress, assetProxyManagerAddress] = accounts; + [makerAddress, takerAddress, feeRecipientAddress] = accounts; const [repInstance, dgdInstance, zrxInstance] = await Promise.all([ deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS), deployer.deployAsync(ContractName.DummyToken, constants.DUMMY_TOKEN_ARGS), @@ -105,9 +104,6 @@ describe('Exchange', () => { assetProxyDispatcher.address, ]); exchange = new ExchangeContract(exchangeInstance.abi, exchangeInstance.address, provider); - await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(assetProxyManagerAddress, { - from: accounts[0], - }); await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: accounts[0] }); await erc20TransferProxyV1.addAuthorizedAddress.sendTransactionAsync(assetProxyDispatcher.address, { from: accounts[0], |