Commit bcb553b2 authored by yann300's avatar yann300

fix gas limit

parent dcfa3422
...@@ -113,7 +113,7 @@ export class Transactions { ...@@ -113,7 +113,7 @@ export class Transactions {
} }
eth_estimateGas (payload, cb) { eth_estimateGas (payload, cb) {
cb(null, 9000000000000000) cb(null, 10000000 * 8)
} }
eth_getCode (payload, cb) { eth_getCode (payload, cb) {
......
...@@ -281,7 +281,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com ...@@ -281,7 +281,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
} }
} }
if (!sendParams) sendParams = {} if (!sendParams) sendParams = {}
sendParams.gas = 9000000000000000 sendParams.gas = 10000000 * 8
method.send(sendParams).on('receipt', (receipt) => { method.send(sendParams).on('receipt', (receipt) => {
try { try {
const time: number = (Date.now() - startTime) / 1000.0 const time: number = (Date.now() - startTime) / 1000.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment