Skip to content
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: fix token approval error #27587

Closed
wants to merge 1 commit into from

Conversation

sahar-fehri
Copy link
Contributor

@sahar-fehri sahar-fehri commented Oct 2, 2024

Description

PR to fix error when users approve a token.

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to uniswap
  2. Choose an ERC20 token to swap with; (make sure you did not approve this token or revoke the approval)
  3. Click on approve and swap
  4. You should not see an error

Screenshots/Recordings

Before

Screen.Recording.2024-10-02.at.23.30.33.mov

After

Screen.Recording.2024-10-02.at.23.25.11.mov

Pre-merge author checklist

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.

@sahar-fehri sahar-fehri requested a review from a team as a code owner October 2, 2024 21:32
Copy link
Contributor

github-actions bot commented Oct 2, 2024

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.

@sahar-fehri sahar-fehri added the needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. label Oct 2, 2024
Copy link

sonarcloud bot commented Oct 2, 2024

@metamaskbot
Copy link
Collaborator

Builds ready [4d8e45f]
Page Load Metrics (1927 ± 124 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint63724561825332159
domContentLoaded165026541891246118
load166026591927258124
domInteractive27182573718
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 11 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link
Contributor

@pedronfigueiredo pedronfigueiredo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This fixes a bug also fixed by #27573

@sahar-fehri sahar-fehri added this pull request to the merge queue Oct 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 3, 2024
@sahar-fehri sahar-fehri added this pull request to the merge queue Oct 3, 2024
@sahar-fehri sahar-fehri removed this pull request from the merge queue due to a manual request Oct 3, 2024
@sahar-fehri
Copy link
Contributor Author

Closing because this got merged first #27573

@sahar-fehri sahar-fehri closed this Oct 3, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. team-assets
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants