aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-04-22 06:42:09 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-22 06:42:09 +0800
commitfe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c (patch)
tree622d120f6b8ecd309b31d74bd4b698648b244548 /packages/contracts/test/exchange
parent67117913ddd492d5e8a6ccec57d8c5ced238040a (diff)
downloaddexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar.gz
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar.bz2
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar.lz
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar.xz
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.tar.zst
dexon-sol-tools-fe6c77cafb3bc1b5e19e9a9b5eb9f995244d625c.zip
Remove unused constructor arguments
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/core.ts3
-rw-r--r--packages/contracts/test/exchange/helpers.ts3
-rw-r--r--packages/contracts/test/exchange/wrapper.ts3
3 files changed, 3 insertions, 6 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index 1e5e0b53a..baa157dbc 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -129,9 +129,8 @@ describe('Exchange', () => {
);
// Deploy and configure Exchange
const exchangeInstance = await deployer.deployAsync(ContractName.Exchange, [
- zrx.address,
- encodeERC20ProxyData(zrx.address),
assetProxyDispatcher.address,
+ encodeERC20ProxyData(zrx.address),
]);
exchange = new ExchangeContract(exchangeInstance.abi, exchangeInstance.address, provider);
await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: owner });
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts
index 43dfd5402..e04153695 100644
--- a/packages/contracts/test/exchange/helpers.ts
+++ b/packages/contracts/test/exchange/helpers.ts
@@ -43,9 +43,8 @@ describe('Exchange', () => {
const assetProxyDispatcher = await deployer.deployAsync(ContractName.AssetProxyDispatcher);
// Deploy and configure Exchange
const exchangeInstance = await deployer.deployAsync(ContractName.Exchange, [
- zrx.address,
- AssetProxyId.ERC20,
assetProxyDispatcher.address,
+ AssetProxyId.ERC20,
]);
const exchange = new ExchangeContract(exchangeInstance.abi, exchangeInstance.address, provider);
await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: owner });
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index 7744d0388..429c141f6 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -110,9 +110,8 @@ describe('Exchange', () => {
);
// Deploy and configure Exchange
const exchangeInstance = await deployer.deployAsync(ContractName.Exchange, [
- zrx.address,
- encodeERC20ProxyData(zrx.address),
assetProxyDispatcher.address,
+ encodeERC20ProxyData(zrx.address),
]);
exchange = new ExchangeContract(exchangeInstance.abi, exchangeInstance.address, provider);
await assetProxyDispatcher.addAuthorizedAddress.sendTransactionAsync(exchange.address, { from: owner });