fix gas estimate

pull/5370/head
yann300 2 years ago committed by Aniket
parent 944c6c889c
commit e60038ac4e
  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