MetaMask / MetaMask/metamask-extension
[Bug]: Bridge operation from SOL to BTC displays incorrect amounts in activity summary and details
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
After swapping 0.09 SOL to BTC, the Bridge Activity page displays an incorrect sent amount and currency. The activity feed shows 7.424 SOL, which does not match the actual transaction details shown in the bridge details page.
Observed that 0.09 SOL was $7.47
Activity list displays:
Activity Details displays:
### Expected behavior
1. Activity page should reflect the correct source asset and amount: 0.09 SOL
2. No mismatch between Activity page and Bridge details amount and currency, it should display:
- Sent: 0.09 SOL
- Received: 0.00009715 BTC
### Screenshots/Recordings
_No response_
### Steps to reproduce
1. Initiate a swap: 0.09 SOL to BTC
2. Go to Activity page
3. Open Bridge to Bitcoin activity entry
4. Check Activity summary and Bridge details page
**Actual Result**
1. Activity page shows: **7.424 SOL sent**
2. Bridge details page shows:
- Sent: 7.423583 USDC
- Received: 0 BTC
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
13.27.0
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start by reproducing the 0.09 SOL to BTC swap on version 13.27.0, then inspect the Bridge Activity summary and details flow described in the issue. Compare the source and destination asset amounts shown in both views against the expected 0.09 SOL and 0.00009715 BTC. Done means both views consistently display the correct source asset, amount, and received amount.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100