MetaMask / MetaMask/metamask-extension
[Bug]: Can't switch rpc/network when tx has not been approved/rejected
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
I can no longer switch rpc nodes before confirming/rejecting a transaction.
**Expected behavior**
This used to be possible, and now you have to cancel the tx, switch rpc nodes, then create the tx again. It's a substantial regression if you like to frequently swap between rpc networks - like mev protected, standard, or gas optimized rpc nodes.
**Steps to reproduce**
Create tx, attempt to swap between rpc nodes - selection is greyed out.
**Version**
11.7.3
**Build type**
None
**Browser**
Chrome
**Operating system**
Windows
Contributor guide
Research direction
Reproduce the issue by creating a transaction in MetaMask 11.7.3 and attempting to switch RPC nodes before approving or rejecting it. Trace the code behind the greyed-out RPC selection during a pending transaction, and consider the issue done when switching between RPC nodes works without cancelling and recreating the transaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100