-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: When sending 'max' amount ETH value is not adjusted in response to changes in the gas fee. #8516
Comments
v7.7.0 (Sep. 1, 2023) - same behavior, ETH value is not adjusted: maxFee.mov |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions. |
This issue was closed because there has been no follow activity in 7 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions. |
This issue was closed because there has been no follow activity in 7 days. If you feel this was closed in error please provide evidence on the current production app in a new issue or comment in the existing issue to a maintainer. Thank you for your contributions. |
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> This PR implements "Use Max" feature to the send flow. In the `Amount` step we set `maxValueMode` as `true`. When user gets in to the `Confirm` step, depending on the value, transaction value is getting updated. ## **Related issues** #8516 ## **Manual testing steps** 1. Try send eth - initiate from wallet 2. "Use max" value on the `Amount` screen 3. See that amount is adjusted on every gas update ## **Screenshots/Recordings** https://github.com/user-attachments/assets/b785887e-1cb1-4937-9b3d-c15cc72057ea ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [X] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Describe the bug
When sending 'max' amount ETH value on the confirmation screen is not recalculated when gas fee changes.
Expected behavior
ETH value should be adjusted in response to fluctuations in gas fees.
Screenshots/Recordings
gas.mov
https://recordit.co/i6mDDYRLYw
Steps to reproduce
Error messages or log output
No response
Version
7.15.0, 7.16.0
Build type
Other (please specify exactly where you obtained this build in "Additional Context" section)
Device
Samsung Note20
Operating system
Android
Additional context
For the first video in the 'Screenshots/Recordings' section made on physical device Samsung Note20 5G, QA build, branch
Second video is the recording of 7.16.0.
Severity
No response
The text was updated successfully, but these errors were encountered: