MetaMask / MetaMask/metamask-mobile

[Bug]: Confirmations - The fees displayed for a failing transaction are disproportionate ie $18k

Open
#29,847 0 comments 0 reactions 0 assignees View on GitHub
INVALID-ISSUE-TEMPLATE potential-ai-ticket Sev2-normal team-confirmations type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

The fee details displayed for a failing transaction are disproportionate ie $18k.
If I don't have the Simualte tx feature, I would not see that transaction is going to fail, but I would see a disroportionate amount in fees.
Initially they display Not Available

**Expected behavior**

Not sure what should be the best here 🤔

**Screenshots/Recordings**

https://github.com/user-attachments/assets/73ecdafe-3e3c-4b2b-9f73-01cd39aad049

**Steps to reproduce**

1. Go to the test daqpp
2. Connect with an empty account
3. Click Malicious ERC20 Transfer
4. Click fees

**Error messages or log output**

```shell

```

**Where was this bug found?**

Live version (from official store)

**Version**

7.75.0

**Build number**

prod seems an old issue

**Build type**

None

**Device**

Pixel 6

**Operating system**

Android

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the test dapp on Android with an empty account: use Malicious ERC20 Transfer, then open fees, comparing behavior with and without Simulate tx. Start by tracing the confirmation fee display and simulation paths; because the expected behavior is unspecified, confirm the desired handling with maintainers, then verify failing transactions no longer show disproportionate fees.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.