MetaMask / MetaMask/metamask-extension
[Bug]: Trezor: mUSD convert failing on Linea when there are insufficient funds
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**
Using Trezor on Linea with no Linea ETH for gas: when converting USDC to mUSD, the transaction fails with error:
`SES_UNHANDLED_REJECTION: a: MetaMask Pay: Relay: RPC 0xe708 Infura eth_sendRawTransaction: typed transaction too short`
**Expected behavior**
Display insufficient funds message
**Screenshots/Recordings**
https://github.com/user-attachments/assets/d2ca3bc6-2e3d-462c-a588-641f04aaec02
**Steps to reproduce**
1. Connect Trezor Account
2. Have no Linea ETH tokens
3. Have USDC tokens
4. Convert USDC to mUSD
5. Notice transaction fails
**Error messages or log output**
```
MetaMask Pay: Relay: RPC 0xe708 Infura eth_sendRawTransaction: typed transaction too short
```
**Where was this bug found?**
Internal release testing
**Version**
13.40.0
**Browser**
Chrome
**Operating system**
MacOS
**Hardware wallet**
Trezor
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 Trezor conversion flow on Linea with USDC, mUSD, and no Linea ETH, then trace the transaction path that produces the typed transaction error. Done means the same scenario displays an insufficient funds message instead of failing with the RPC error; verify the existing conversion and transaction tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100