aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/src/contract.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/0x.js/src/contract.ts b/packages/0x.js/src/contract.ts
index 6dc0dab66..7e16c580d 100644
--- a/packages/0x.js/src/contract.ts
+++ b/packages/0x.js/src/contract.ts
@@ -5,7 +5,7 @@ import * as Web3 from 'web3';
import {AbiType} from './types';
-const GAS_MARGIN = 30000;
+const GAS_MARGIN = 300000;
export class Contract implements Web3.ContractInstance {
public address: string;
@@ -75,7 +75,6 @@ export class Contract implements Web3.ContractInstance {
const estimatedGas = await estimateGasAsync.apply(this.contract, [...args, txData]);
const gas = estimatedGas + GAS_MARGIN;
txData.gas = gas;
- console.log('withGas', txData);
} catch (err) {
reject(err);
return;