diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-14 10:50:27 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:18 +0800 |
commit | 84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e (patch) | |
tree | ef9cd9965620e51d17862fee7a0fcc5cb9f02552 /packages | |
parent | dfe6b2844b3c847e940b3f9d13cb981755c6c694 (diff) | |
download | dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.gz dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.tar.zst dexon-0x-contracts-84eddc3d949e42b2ba1e2b4e4a0994bb58c9566e.zip |
switched to constants in default order params.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contracts/test/exchange/core.ts | 4 | ||||
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 4 |
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]; |