-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feat(): Adds confirmation screen for 'increaseAllowance' #23560
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. |
77e338b
to
4335463
Compare
4e56dd3
to
b7798b7
Compare
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.
great work 🚀
fe57015
to
b3cd7a1
Compare
@metamaskbot update-policies |
Policies updated |
0dce0f9
to
9919aca
Compare
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.
Explanation on gas changes required in the e2e: in this PR we are updating the test-dapp to the latest version. In the new version, we removed the suggested gas from the test dapp, to fix a non-related issue with network congestion, meaning that from now on, the gas for the approve and transfer is calculated differently
so we need to update both the transfer and approve occurrences where we check the gas, to the new gas values --> those will always be the same (bc ganache setup and mocks are the same) but they are not the same as the ones we currently have with the previous dapp version
extra note: not sure why FF is passing, but this might indicate that we are not properly validating in that browser - maybe in that browser something else is going on that misses it, but I think that could be out of scope of this PR and could be investigated separately
7b35dba
to
da4c4e8
Compare
Builds ready [da4c4e8]
Page Load Metrics (799 ± 466 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
da4c4e8
to
ef4caab
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #23560 +/- ##
===========================================
- Coverage 69.13% 69.11% -0.01%
===========================================
Files 1160 1160
Lines 44275 44296 +21
Branches 11844 11850 +6
===========================================
+ Hits 30606 30615 +9
- Misses 13669 13681 +12 ☔ View full report in Codecov by Sentry. |
Builds ready [ef4caab]
Page Load Metrics (1272 ± 461 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ef4caab
to
1b917dd
Compare
Builds ready [1b917dd]
Page Load Metrics (1147 ± 530 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
1b917dd
to
f5eb89e
Compare
Builds ready [704b115]
Page Load Metrics (1230 ± 501 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
NOTE: This PR is blocked by changes to core repo as well as to the test dApp first.Description
Reuses the token approve confirmation screen for 'increaseAllowance'. It also includes an e2e test for the complete flow.
Related issues
Fixes: #2224
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist