metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559

Open hsbnguyen opened this issue 4 years ago • 14 comments

Describe the bug

I was trying to proceed with a transaction using MetaMask but keep getting the same error message "Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559" This has not happened before with the same type of transaction and only just happened today.

Could you please help resolve or give me advice?

I'm using MetaMask extension in Chrome on Macbook.

Thanks

Steps to reproduce

  1. Open Google Chrome in MacOS
  2. Open Avalaunch website
  3. Linked MetaMask wallet
  4. Purchase tokens on Avalaunch
  5. Error message appeared

Error messages or log output

Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559

Version

10.10.2

Build type

No response

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

hsbnguyen avatar Mar 07 '22 23:03 hsbnguyen

Thanks for the issue @nsbh7. As far as we're aware Avalanche supports EIP-1559 so we're going to need to investigate this further.

AlexJupiter avatar Mar 08 '22 14:03 AlexJupiter

@nsbh7 Trying switch the network to mainnet and switching back to avalanache

danjm avatar Mar 08 '22 18:03 danjm

@danjm thanks this solved it for me. Metamask should fix this issue though

Krugo-D avatar Jul 10 '22 07:07 Krugo-D

this worked for me too and I'm on testnet

RossPfeiffer avatar Nov 01 '22 10:11 RossPfeiffer

This doesn't seem to be fixed. A lot of people still face this problem.

rahuldamodar94 avatar Feb 06 '23 09:02 rahuldamodar94

Hi. Also have users reporting this at least a few times per week/2-weeks. the bellow happens on polygon, which accepts eip-1559, when trying to submit a ERC20.approve tx.

metamask version: 10.25.0 chrome version: 110.0.5481.104

image

Already tried:

  • restarting browser
  • logging off/back in into metamask
  • changing rpc provider for polygon
  • changing network from polygon to Ethereum, and then back to polygon

fodisi avatar Feb 22 '23 15:02 fodisi

Having same issue ,

Chrome - Version 109.0.5414.87 (Official Build) (arm64) Metamask - 10.25.0

Tried as @fodisi mentioned above but still not work.

Updates: Switching back and forth Mainnet - Goerli various times does work. "Various times" with my case means at least 5

tucq88 avatar Mar 03 '23 09:03 tucq88

Same issue, switching back and forth from Mainnet to Goerli worked for me.

Chrome- Version Version 110.0.5481.177 (Official Build) (arm64) Metamask- 10.26.1

savhappy avatar Mar 21 '23 17:03 savhappy

@nsbh7 Trying switch the network to mainnet and switching back to avalanache

Even though this works, it's a disappointing workaround for a long-standing issue, I've personally been fielding dozens of support requests with this. Would the Metamask team be open to taking a second look? It's still a problem over a year after being raised.

vmichalik avatar Mar 31 '23 10:03 vmichalik

@nsbh7 Trying switch the network to mainnet and switching back to avalanache

Even though this works, it's a disappointing workaround for a long-standing issue, I've personally been fielding dozens of support requests with this. Would the Metamask team be open to taking a second look? It's still a problem over a year after being raised.

The fact that people consider "switching back and forth" a legitimate fix is very disappointing. Am I suppose to instruct my users switch to Mainnet and back to L2 again ? Not helping with an already complex onboarding process.

jernejc avatar Mar 31 '23 12:03 jernejc

Here is a workaround/fix: https://docs.halofi.me/guides/guides/troubleshooting#2-changing-rpc-providers-to-resolve-error-code-32602-eip-1559

It likely has to do with your chosen RPC provider for Avalanche

Deepcryptodive avatar Apr 01 '23 09:04 Deepcryptodive

@Deepcryptodive

I'm on Polygon, using an RPC that's on the list you linked "https://polygon-rpc.com". Same RPC also in the official Polygon docs: https://github.com/maticnetwork/matic-docs/blob/master/docs/operate/network.md

Also, if the problem would be RPC, it would consistently report the error, which it doesn't? After switching back and forth (a few times) it randomly (seems random) starts to work.

jernejc avatar Apr 01 '23 13:04 jernejc

Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559]!

Abdul-Maajith avatar Apr 12 '23 14:04 Abdul-Maajith

Hey @hsbnguyen , thank you for your report and to everyone who added valuable information to this issue. Closing as this has been fixed by https://github.com/MetaMask/core/pull/1457 and merged into the main branch in the extension by https://github.com/MetaMask/metamask-extension/commit/6594f7074e0623f05c9e0f7bce0f9bd39b5cc317#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519, so it should be available in the next release cut v10.36. Please feel free to open a new issue if you reproduce the problem again or if you find any other issues. Ty!

vinistevam avatar Aug 15 '23 12:08 vinistevam