aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/fill_scenarios.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-03 02:05:25 +0800
committerFabio Berger <me@fabioberger.com>2017-06-03 02:05:25 +0800
commit45f9ffd86c4878cf38c268933b0d30ff50f8a9c8 (patch)
treec9ca7ff492c5b7527509f1fe93d120d75ed6d1de /test/utils/fill_scenarios.ts
parent40208e3b2d6bdf465adf0d5a068b234991999646 (diff)
parent5925f81fe185a90efaa82dd90bd8d65d74326f11 (diff)
downloaddexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar.gz
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar.bz2
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar.lz
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar.xz
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.tar.zst
dexon-sol-tools-45f9ffd86c4878cf38c268933b0d30ff50f8a9c8.zip
Merge branch 'master' into addEventSubscriptions
# Conflicts: # src/types.ts # test/exchange_wrapper_test.ts # test/utils/fill_scenarios.ts
Diffstat (limited to 'test/utils/fill_scenarios.ts')
-rw-r--r--test/utils/fill_scenarios.ts10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts
index ea5eb77eb..d186593b9 100644
--- a/test/utils/fill_scenarios.ts
+++ b/test/utils/fill_scenarios.ts
@@ -56,14 +56,10 @@ export class FillScenarios {
partialFillAmount: BigNumber.BigNumber) {
const prevSenderAccount = await this.zeroEx.getTransactionSenderAccountIfExistsAsync();
const [makerAddress] = this.userAddresses;
- await this.zeroEx.token.setProxyAllowanceAsync(makerTokenAddress, makerAddress, fillableAmount);
- await this.zeroEx.token.transferAsync(takerTokenAddress, makerAddress, takerAddress, fillableAmount);
- await this.zeroEx.token.setProxyAllowanceAsync(takerTokenAddress, takerAddress, fillableAmount);
-
const signedOrder = await this.createAsymmetricFillableSignedOrderAsync(
- makerTokenAddress, takerTokenAddress, makerAddress, takerAddress,
- fillableAmount, fillableAmount,
- );
+ makerTokenAddress, takerTokenAddress, makerAddress, takerAddress,
+ fillableAmount, fillableAmount,
+ );
this.zeroEx.setTransactionSenderAccount(takerAddress);
const shouldCheckTransfer = false;