don't set gas limit for a call

pull/4737/head^2
yann300 7 months ago committed by Aniket
parent a731340136
commit cab80e685a
  1. 1
      libs/remix-lib/src/execution/txRunnerWeb3.ts

@ -106,7 +106,6 @@ export class TxRunnerWeb3 {
const tx = { from: from, to: to, data: data, value: value }
if (!from) return callback('the value of "from" is not defined. Please make sure an account is selected.')
if (useCall) {
tx['gas'] = gasLimit
if (this._api && this._api.isVM()) {
(this.getWeb3() as any).remix.registerCallId(timestamp)
}

Loading…
Cancel
Save