setting the type on network that doesn't support type create bugs.

pull/4215/head
yann300 1 year ago
parent 8e3a0c8590
commit fa88415dfb
  1. 2
      libs/remix-lib/src/execution/txRunnerWeb3.ts

@ -23,7 +23,7 @@ export class TxRunnerWeb3 {
// this is to avoid the following issue: https://github.com/MetaMask/metamask-extension/issues/11824
tx.type = '0x2'
} else {
tx.type = '0x1'
// tx.type = '0x1'
}
if (txFee) {
if (txFee.baseFeePerGas) {

Loading…
Cancel
Save