MetaMask / MetaMask/metamask-extension

[Bug]: Missing Token Symbol when Sending on a Payable function

Open
#15,382 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-transactions T08-featureRequest team-confirmations-planning
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Describe the bug

Problem: when I am sending ETH to a payable function from a Smart Contract, I can see the amount but not the token symbol on the Confirm Tx screen.

https://user-images.githubusercontent.com/54408225/181734186-9cd2a04d-07a4-44d9-b2b2-e03162d81501.mp4

I am expecting to see the token symbol in the same way as we do for Sends or Transfers. See example:

image

Steps to reproduce
  1. Go to Remix
  2. Deploy a contract
  3. Include a value on the Value field
  4. Call a Smart Contract function
  5. See MetaMask notification
Error messages or log output

No response

Version

10.19.0

Build type

No response

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

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

No source files or tests are named. Reproduce the flow from Remix by deploying the linked Solidity contract, sending ETH to its payable function, and opening the MetaMask Confirm Tx screen. Done means the confirmation displays the ETH token symbol alongside the amount, as it does for sends or transfers.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity, typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.