diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-21 03:01:58 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-21 03:01:58 +0800 |
commit | cabce8cb674e937a566e8a821e3959076390f603 (patch) | |
tree | 085b13d8d39c78ae6b5b58157ad73ca5efea544f /packages/contracts/test/utils/fill_order_combinatorial_utils.ts | |
parent | 44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1 (diff) | |
parent | 756787c61fff9c6b463fbbd69b48210dafe62004 (diff) | |
download | dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar.gz dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar.bz2 dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar.lz dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar.xz dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.tar.zst dexon-sol-tools-cabce8cb674e937a566e8a821e3959076390f603.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/connect/sra-api-v2
Diffstat (limited to 'packages/contracts/test/utils/fill_order_combinatorial_utils.ts')
-rw-r--r-- | packages/contracts/test/utils/fill_order_combinatorial_utils.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/fill_order_combinatorial_utils.ts b/packages/contracts/test/utils/fill_order_combinatorial_utils.ts index f18ad0dd3..a9318571c 100644 --- a/packages/contracts/test/utils/fill_order_combinatorial_utils.ts +++ b/packages/contracts/test/utils/fill_order_combinatorial_utils.ts @@ -504,7 +504,11 @@ export class FillOrderCombinatorialUtils { const actFilledTakerAmount = await this.exchangeWrapper.getTakerAssetFilledAmountAsync(orderHash); expect(actFilledTakerAmount).to.be.bignumber.equal(expFilledTakerAmount, 'filledTakerAmount'); - expect(txReceipt.logs.length).to.be.equal(1, 'logs length'); + const exchangeLogs = _.filter( + txReceipt.logs, + txLog => txLog.address === this.exchangeWrapper.getExchangeAddress(), + ); + expect(exchangeLogs.length).to.be.equal(1, 'logs length'); // tslint:disable-next-line:no-unnecessary-type-assertion const log = txReceipt.logs[0] as LogWithDecodedArgs<ExchangeFillEventArgs>; expect(log.args.makerAddress).to.be.equal(makerAddress, 'log.args.makerAddress'); |