aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 23:23:26 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-06 01:11:41 +0800
commit0c8264801ac15952861724ecd6a2620dc3055e5e (patch)
tree133ac3322334d726889cfea3e794da85a878aba4 /packages/contract-wrappers/test/exchange_wrapper_test.ts
parent54d1a0359f8cd117e34c420310688f44f45bb841 (diff)
downloaddexon-0x-contracts-0c8264801ac15952861724ecd6a2620dc3055e5e.tar.gz
dexon-0x-contracts-0c8264801ac15952861724ecd6a2620dc3055e5e.tar.zst
dexon-0x-contracts-0c8264801ac15952861724ecd6a2620dc3055e5e.zip
Fix tests
Diffstat (limited to 'packages/contract-wrappers/test/exchange_wrapper_test.ts')
-rw-r--r--packages/contract-wrappers/test/exchange_wrapper_test.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts
index e1e0e02f6..b2c716008 100644
--- a/packages/contract-wrappers/test/exchange_wrapper_test.ts
+++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts
@@ -486,9 +486,15 @@ describe('ExchangeWrapper', () => {
it('should only get the logs with the correct indexed fields', async () => {
txHash = await contractWrappers.exchange.fillOrderAsync(signedOrder, takerTokenFillAmount, takerAddress);
await web3Wrapper.awaitTransactionSuccessAsync(txHash, constants.AWAIT_TRANSACTION_MINED_MS);
-
+ const signedOrderWithAnotherMakerAddress = await fillScenarios.createFillableSignedOrderAsync(
+ makerAssetData,
+ takerAssetData,
+ anotherMakerAddress,
+ takerAddress,
+ fillableAmount,
+ );
txHash = await contractWrappers.exchange.fillOrderAsync(
- anotherSignedOrder,
+ signedOrderWithAnotherMakerAddress,
takerTokenFillAmount,
takerAddress,
);