aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/wrapper.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-13 02:43:19 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-13 02:45:02 +0800
commit3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d (patch)
tree7a27b880fcab96e867a02af2e337f32a3d352187 /packages/contracts/test/exchange/wrapper.ts
parenta0a90afbc0962eb70b2abb3d24aef80a8d8a822d (diff)
downloaddexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar.gz
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar.bz2
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar.lz
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar.xz
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.tar.zst
dexon-sol-tools-3a5f3e8b55f4b9733ef542281ee71c4fdc9cd39d.zip
Unpop byte rather than making deep copy
Diffstat (limited to 'packages/contracts/test/exchange/wrapper.ts')
-rw-r--r--packages/contracts/test/exchange/wrapper.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index 5371ae1d1..abba1ac4f 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -712,6 +712,10 @@ describe('Exchange wrappers', () => {
);
await exchangeWrapper.marketSellOrdersNoThrowAsync(signedOrders, takerAddress, {
takerAssetFillAmount,
+ // HACK(albrow): We need to hardcode the gas estimate here because
+ // the Geth gas estimator doesn't work with the way we use
+ // delegatecall and swallow errors.
+ gas: 6000000,
});
const newBalances = await erc20Wrapper.getBalancesAsync();