MetaMask / MetaMask/metamask-extension

[Bug]: The 'Retry transaction' functionality does nothing for the Failed transaction: "code": -32603, "message": "Internal JSON-RPC error.", "data": { "code": -32000, "message": "transaction underpriced: gas tip cap 11000000000, minimum needed 25000000000", "cause": null

Open
#30,803 2 comments 0 reactions 0 assignees View on GitHub
area-assets regression-prod-12.12.0 regression-prod-12.18.2 Sev2-normal team-extension-platform type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

Within a `Failed` transaction details, there is a `Retry transaction` icon, which implies the possibility of speeding up the `Failed` transaction. However, after interacting with this modal — whether by adjusting gas fees and clicking 'Submit' or 'Save' — no action is taken, and the modal simply closes without any changes to the transaction status.

### Expected behavior

The intended outcomes of retrying a transaction functionality are clearly communicated

### Screenshots/Recordings

https://github.com/user-attachments/assets/4e7703f0-e6d4-4652-8d91-ab419294543d

### Steps to reproduce

1. Have Failed transaction in the Activity tab
2. Navigate to tx details screen
3. Click` Retry transaction` icon

### Error messages or log output

```shell
"code": -32603,
"message": "Internal JSON-RPC error.",
"data": {
"code": -32000,
"message": "transaction underpriced: gas tip cap 11000000000, minimum needed 25000000000",
"cause": null
},
"stack": "Error: Internal JSON-RPC error.\n at new o (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:638156)\n at a (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:641247)\n at Object.internal (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:641856)\n at c (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-0.js:1:568382)\n at chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-0.js:1:569384\n at async chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-1.js:1:157805"
}
at new o (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:638156)
at a (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:641247)
at Object.internal (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-2.js:1:641856)
at c (chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-0.js:1:568382)
at chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-0.js:1:569384
at async chrome-extension://ookmcigjbkoiihmnockpjppmldnhnifm/common-1.js:1:157805

```

### Detection stage

In production (default)

### Version

12.12.0

### Build type

None

### Browser

Chrome

### Operating system

MacOS

### Hardware wallet

_No response_

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Start at the transaction details screen's Retry transaction flow and reproduce the issue in Chrome with a failed transaction using the reported underpriced gas error. Trace what happens after changing gas fees and selecting Submit or Save; done means the retry action produces the intended transaction-status change rather than only closing the modal.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.