fix gas estimate

pull/3968/head
yann300 1 year ago committed by Aniket
parent 436b1dda80
commit b37fc62599
  1. 2
      libs/remix-lib/src/execution/txRunnerWeb3.ts

@ -107,7 +107,7 @@ export class TxRunnerWeb3 {
console.log(errNetWork)
return
}
const txCopy = { ...tx, type: undefined, maxFeePerGas: undefined, gasPrice: undefined }
const txCopy = { ...tx, type: undefined, maxFeePerGas: undefined, gasPrice: undefined, gas: undefined }
if (network && network.lastBlock) {
if (network.lastBlock.baseFeePerGas) {
// the sending stack (web3.js / metamask need to have the type defined)

Loading…
Cancel
Save