MetaMask / MetaMask/metamask-extension

[Bug]: Perps - Transaction fee details for Deposit don't add up with total transaction fee

Open
#41,927 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

INVALID-ISSUE-TEMPLATE regression-RC-13.28.0 Sev2-normal team-confirmations type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

**Describe the bug**

When I'm doing a Perps Deposit, I see that the total fee displayed is $0.04, but if I hover on the transaction fee details I see:
- network fee $0.01
- bridge fee $0.04
- metamask fee $0.00
Which don't add up

**Screenshots/Recordings**

Image

**Steps to reproduce**

1. Go to Perps tab
2. Click Deposit
3. Add a token/amount
4. See fees
5. Hover for fee details

**Error messages or log output**

```shell

```

**Where was this bug found?**

Internal release testing

**Version**

13.28.0

**Build type**

None

**Browser**

Chrome

**Operating system**

MacOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Perps tab's Deposit flow and reproduce the discrepancy using the listed steps, checking the total fee and each hover-detail component. Trace where those displayed values are assembled and verify the network, bridge, and MetaMask fees reconcile with the total; done means the displayed amounts add up.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.