fix gas limit

pull/1249/head
yann300 4 years ago
parent dcfa3422e8
commit bcb553b27a
  1. 2
      libs/remix-simulator/src/methods/transactions.ts
  2. 2
      libs/remix-tests/src/testRunner.ts

@ -113,7 +113,7 @@ export class Transactions {
}
eth_estimateGas (payload, cb) {
cb(null, 9000000000000000)
cb(null, 10000000 * 8)
}
eth_getCode (payload, cb) {

@ -281,7 +281,7 @@ export function runTest (testName: string, testObject: any, contractDetails: Com
}
}
if (!sendParams) sendParams = {}
sendParams.gas = 9000000000000000
sendParams.gas = 10000000 * 8
method.send(sendParams).on('receipt', (receipt) => {
try {
const time: number = (Date.now() - startTime) / 1000.0

Loading…
Cancel
Save