aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/core.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-23 04:15:01 +0800
committerFabio Berger <me@fabioberger.com>2018-05-23 04:15:01 +0800
commit9de9bf651b7cede14ed718a438c48204dec5f989 (patch)
treec1b8e4410e2e1aec674f13c46c794330926820b3 /packages/contracts/test/exchange/core.ts
parent09d80b1e503b00483f32c60745a61ca8e4477be9 (diff)
downloaddexon-sol-tools-9de9bf651b7cede14ed718a438c48204dec5f989.tar.gz
dexon-sol-tools-9de9bf651b7cede14ed718a438c48204dec5f989.tar.zst
dexon-sol-tools-9de9bf651b7cede14ed718a438c48204dec5f989.zip
Fix ExchangeWrapper
Diffstat (limited to 'packages/contracts/test/exchange/core.ts')
-rw-r--r--packages/contracts/test/exchange/core.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index a54ec7692..5a91f42d1 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -60,8 +60,6 @@ describe('Exchange core', () => {
let defaultMakerAssetAddress: string;
let defaultTakerAssetAddress: string;
- let zeroEx: ZeroEx;
-
before(async () => {
await blockchainLifecycle.startAsync();
});
@@ -92,11 +90,7 @@ describe('Exchange core', () => {
txDefaults,
assetProxyUtils.encodeERC20ProxyData(zrxToken.address),
);
- zeroEx = new ZeroEx(provider, {
- exchangeContractAddress: exchange.address,
- networkId: constants.TESTRPC_NETWORK_ID,
- });
- exchangeWrapper = new ExchangeWrapper(exchange);
+ exchangeWrapper = new ExchangeWrapper(exchange, provider);
await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC20, erc20Proxy.address, owner);
await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC721, erc721Proxy.address, owner);