aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 01:51:10 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 01:51:10 +0800
commitd6a9e7520da63b9163894bb5aa191a5dfc83ce40 (patch)
treea302b7bac1bf5e91d39148b0e573309f0568b2b1
parent36b21e6e7b8033117c9a1313c1294682184462f8 (diff)
downloaddexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar.gz
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar.bz2
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar.lz
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar.xz
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.tar.zst
dexon-sol-tools-d6a9e7520da63b9163894bb5aa191a5dfc83ce40.zip
Remove gas params from tests
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index d862c347d..f6c823cc4 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -124,7 +124,6 @@ describe('ExchangeWrapper', () => {
it('should not validate when orderTransactionOptions specify not to validate', async () => {
return expect(zeroEx.exchange.batchFillOrKillAsync(orderFillRequests, takerAddress, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderFillAmountZero);
});
});
@@ -184,7 +183,6 @@ describe('ExchangeWrapper', () => {
it('should not validate when orderTransactionOptions specify not to validate', async () => {
return expect(zeroEx.exchange.fillOrKillOrderAsync(signedOrder, emptyFillableAmount, takerAddress, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderFillAmountZero);
});
});
@@ -364,7 +362,6 @@ describe('ExchangeWrapper', () => {
return expect(zeroEx.exchange.batchFillOrdersAsync(
orderFillBatch, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderFillAmountZero);
});
});
@@ -422,7 +419,6 @@ describe('ExchangeWrapper', () => {
return expect(zeroEx.exchange.fillOrdersUpToAsync(
signedOrders, emptyFillUpToAmount, shouldThrowOnInsufficientBalanceOrAllowance, takerAddress, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderFillAmountZero);
});
});
@@ -471,7 +467,6 @@ describe('ExchangeWrapper', () => {
it('should not validate when orderTransactionOptions specify not to validate', async () => {
return expect(zeroEx.exchange.cancelOrderAsync(signedOrder, emptyCancelTakerTokenAmount, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderCancelAmountZero);
});
});
@@ -547,7 +542,6 @@ describe('ExchangeWrapper', () => {
it('should not validate when orderTransactionOptions specify not to validate', async () => {
return expect(zeroEx.exchange.batchCancelOrdersAsync(cancelBatch, {
shouldValidate: false,
- gasLimit: 200000, // If we don't pass this gas estimation will fail
})).to.not.be.rejectedWith(ExchangeContractErrs.OrderCancelAmountZero);
});
});