diff --git a/libs/remix-simulator/src/methods/transactions.ts b/libs/remix-simulator/src/methods/transactions.ts index 32ef9d8a64..4774e948b8 100644 --- a/libs/remix-simulator/src/methods/transactions.ts +++ b/libs/remix-simulator/src/methods/transactions.ts @@ -145,7 +145,8 @@ export class Transactions { return cb(e.message) } } - cb(null, result.result.execResult.gasUsed.toNumber()) + const gasUsed = result.result.execResult.gasUsed.toNumber() + cb(null, Math.ceil(gasUsed + (15 * gasUsed) / 100)) }) }