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: approval request with id x not found #6838

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

vinistevam
Copy link
Contributor

@vinistevam vinistevam commented Jul 19, 2023

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add needs-qa label when dev review is completed
  5. Add QA Passed label when QA has signed off

Description
To reproduce it, follow these steps: create a token, leave the modal open, and move the MMM app to the background. When you bring the MMM back to the foreground, you will encounter the error.

  • add checks if has an approval request before rejecting it.

Additional reports on sentry: https://metamask.sentry.io/issues/?project=2299799&query=is%3Aunresolved+Approval&referrer=issue-list&statsPeriod=30d&utc=true

Screenshots/Recordings

After fix:

create-token-fixed.webm

Before fix:

before-fix.webm

Issue

resolves: #6774

E2E Pipeline
https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6778146f-5e13-4f23-b31f-4665bfb01b85

Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

@vinistevam vinistevam requested a review from a team as a code owner July 19, 2023 12:53
@github-actions
Copy link
Contributor

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.

@vinistevam vinistevam added team-confirmations-system DEPRECATED: please use "team-confirmations" label instead release-7.4.0 Issue or pull request that will be included in release 7.4.0 labels Jul 19, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug D 3 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

15.9% 15.9% Coverage
0.0% 0.0% Duplication

@vinistevam vinistevam merged commit 499860f into release/7.4.0 Jul 20, 2023
@vinistevam vinistevam deleted the bug/6774-approval-request-not-found branch July 20, 2023 09:50
@github-actions github-actions bot locked and limited conversation to collaborators Jul 20, 2023
@chrisleewilcox chrisleewilcox added the Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking label Jul 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.4.0 Issue or pull request that will be included in release 7.4.0 Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-confirmations-system DEPRECATED: please use "team-confirmations" label instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] MetaMask Tx Signature: Unknown problem when Approve an ERC20/ERC721
3 participants