aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/wrapper.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-30 13:09:57 +0800
committerJacob Evans <jacob@dekz.net>2018-06-05 06:55:28 +0800
commit342432dc76d1bfc2531fb2edef77afc523eacefe (patch)
treea6676f58cfe204c30a96524008900ece8d232f53 /packages/contracts/test/exchange/wrapper.ts
parent79472552aae4ef60ae20e26571c750cbeb02c552 (diff)
downloaddexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar
dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.gz
dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.bz2
dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.lz
dexon-sol-tools-342432dc76d1bfc2531fb2edef77afc523eacefe.tar.xz
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.ts2
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();