fix remix simulator gas limit

pull/5370/head
yann300 2 years ago committed by Aniket
parent 509b2d3d2c
commit b705c1bb40
  1. 2
      libs/remix-simulator/src/methods/transactions.ts

@ -171,7 +171,7 @@ export class Transactions {
if (result.execResult.gasRefund) { if (result.execResult.gasRefund) {
gasUsed += result.execResult.gasRefund gasUsed += result.execResult.gasRefund
} }
cb(null, Math.ceil(Number(gasUsed) + (15 * Number(gasUsed)) / 100)) cb(null, Math.ceil(Number(gasUsed) + (30 * Number(gasUsed)) / 100))
}) })
} }

Loading…
Cancel
Save