-
-
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
fix: legacy gas fee edit modal #7035
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #7035 +/- ##
==========================================
+ Coverage 32.75% 32.83% +0.08%
==========================================
Files 1006 1006
Lines 26957 32718 +5761
Branches 2128 8394 +6266
==========================================
+ Hits 8829 10743 +1914
- Misses 17701 21975 +4274
+ Partials 427 0 -427
☔ View full report in Codecov by Sentry. |
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
Changes look largely good, I left some small feedbacks. |
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/EditGasFeeLegacyUpdate/EditGasFeeLegacyUpdate.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking like a good fix. I wonder if we should plan to add more test coverage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM! I'd suggest having this QA'd as I'm not seeing the labels for this yet
Yes we will. I intend to move it to QA after getting dev approval. |
I'll add here the QA findings: Send ERC20 Token from Dapp displays legacy feesWhenever I am on an EIP1559 network, if I trigger the Send ERC20 token function I can see how the gas displayed is Legacy instead of EIP1559. send-token-legacy-fees.mp4Repro:
|
d3266c2
to
8d42cca
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re: #7035 (comment)
as proposed in ^ this comment, it seems others have agreed this PR is okay to merge based on a conversation @blackdevelopa showed me. It has been discussed by others that the issues mentioned above can be addressed in follow-up PRs
Description
Currently, all legacy transactions on the mobile client uses the 1559 edit gas fee modal when editing gas prices. This PR replaces the legacy transaction edit gas fee modal with its own modal achieving parity with the extension.
Figma
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?
Screenshots/Recordings
Issue
fixes #5760
Bitrise build: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6af15cc0-3753-4daf-bc8d-f1fc6809bd2e
Checklist