aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-14 10:50:27 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:18 +0800
commit84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e (patch)
treeef9cd9965620e51d17862fee7a0fcc5cb9f02552 /packages/contracts/test
parentdfe6b2844b3c847e940b3f9d13cb981755c6c694 (diff)
downloaddexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.gz
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.bz2
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.lz
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.xz
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.zst
dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.zip
switched to constants in default order params.
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/exchange/core.ts4
-rw-r--r--packages/contracts/test/exchange/wrapper.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index d3cafe316..499e846e8 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -190,8 +190,8 @@ describe('Exchange', () => {
takerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(200), 18),
makerFee: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
takerFee: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
- makerAssetData: encodeERC20ProxyData(rep.address),
- takerAssetData: encodeERC20ProxyData(dgd.address),
+ makerAssetData: encodeERC20ProxyData(defaultMakerTokenAddress),
+ takerAssetData: encodeERC20ProxyData(defaultTakerTokenAddress),
};
const privateKey = constants.TESTRPC_PRIVATE_KEYS[0];
orderFactory = new OrderFactory(privateKey, defaultOrderParams);
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index caff990d6..7faa3520e 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -136,8 +136,8 @@ describe('Exchange', () => {
takerTokenAmount: ZeroEx.toBaseUnitAmount(new BigNumber(200), 18),
makerFee: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
takerFee: ZeroEx.toBaseUnitAmount(new BigNumber(1), 18),
- makerAssetData: encodeERC20ProxyData(rep.address),
- takerAssetData: encodeERC20ProxyData(dgd.address),
+ makerAssetData: encodeERC20ProxyData(defaultMakerTokenAddress),
+ takerAssetData: encodeERC20ProxyData(defaultTakerTokenAddress),
};
const privateKey = constants.TESTRPC_PRIVATE_KEYS[0];