diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-05-30 13:09:57 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-06-05 06:55:28 +0800 |
commit | 342432dc76d1bfc2531fb2edef77afc523eacefe (patch) | |
tree | a6676f58cfe204c30a96524008900ece8d232f53 /packages/contracts/test/exchange/wrapper.ts | |
parent | 79472552aae4ef60ae20e26571c750cbeb02c552 (diff) | |
download | dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.gz dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.zst dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.zip |
Update Exchange statuses, revert instead of emmitting event on fill/cancel failures, and remove redundant logic in matchOrders
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r-- | packages/contracts/test/exchange/wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts index a158ba8f3..583ec9f91 100644 --- a/packages/contracts/test/exchange/wrapper.ts +++ b/packages/contracts/test/exchange/wrapper.ts @@ -959,7 +959,7 @@ describe('Exchange wrappers', () => { const takerAssetCancelAmounts = _.map(signedOrders, signedOrder => signedOrder.takerAssetAmount); await exchangeWrapper.batchCancelOrdersAsync(signedOrders, makerAddress); - await exchangeWrapper.batchFillOrdersAsync(signedOrders, takerAddress, { + await exchangeWrapper.batchFillOrdersNoThrowAsync(signedOrders, takerAddress, { takerAssetFillAmounts: takerAssetCancelAmounts, }); const newBalances = await erc20Wrapper.getBalancesAsync(); |