MetaMask / MetaMask/metamask-extension
[Bug]: Incorrect error message for low nonce transaction on popular networks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
Low nonce transaction fails with incorrect error message for popular networks. Ethereum and Sepolia display correct `Transaction 0 failed! nonce too low:next nonce ***, tx nonce ***`. Message on Linea Mainnet is `Transaction 2 failed! Nonce too low`, other networks show `Transaction 12 failed! Internal JSON-RPC error.`.
**Expected behavior**
Correct error message consistent across different networks
**Screenshots/Recordings**
Ethereum, Sepolia:
Linea:
Popular networks:
**Steps to reproduce**
1. Start low nonce transaction
**Detection stage**
In production (default)
**Version**
12.2.2
**Build type**
None
**Browser**
Chrome, Firefox
**Operating system**
MacOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the low-nonce transaction described in the issue on Ethereum, Sepolia, Linea Mainnet, and the other affected networks, comparing the returned error messages. Trace the transaction failure handling from that entry point and define done as presenting a consistent low-nonce message across the networks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100