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: mark transactions as failed for cancelled / unknown smart transa… #12820

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

smilingkylan
Copy link
Contributor

…ctions (#12664)

Resolves an issue with stuck transactions for some users who used smart transactions, which was caused by having this
PR
in the 7.36.0 release even when it was marked for 7.37.0 by metamaskbot.

Fixes:

  1. Cancelled transaction stuck thanks to super low gas settings
  2. All other submitted transactions afterwards as well with the invalid_nonce error.
  3. Upgrade to 7.37.1 and see all cancelled tx
  4. Try a new tx

https://consensys.slack.com/archives/C084S32G337/p1734034013370979

https://consensys.slack.com/archives/C084S32G337/p1734039388196979

  • I’ve followed MetaMask Contributor Docs and MetaMask Mobile Coding
    Standards
    .

  • I've completed the PR template to the best of my ability

  • I’ve included tests if applicable

  • I’ve documented my code using JSDoc format if applicable

  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

  • 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.

Description

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

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.

…ctions (#12664)

Resolves an issue with stuck transactions for some users who used smart
transactions, which was caused by having [this
PR](#12274) in the
7.36.0 release even when it was marked for 7.37.0 by metamaskbot.

Fixes:

1. Cancelled transaction stuck thanks to super low gas settings
2. All other submitted transactions afterwards as well with the
invalid_nonce error.
3. Upgrade to 7.37.1 and see all cancelled tx
4. Try a new tx

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

https://consensys.slack.com/archives/C084S32G337/p1734034013370979

https://consensys.slack.com/archives/C084S32G337/p1734039388196979

- [ ] 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).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] 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.

- [ ] 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.
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.

@smilingkylan smilingkylan marked this pull request as ready for review December 20, 2024 21:19
@smilingkylan smilingkylan requested a review from a team as a code owner December 20, 2024 21:19
@smilingkylan smilingkylan merged commit 029c49c into release/7.38.0 Dec 20, 2024
31 of 34 checks passed
@smilingkylan smilingkylan deleted the cherry-pick-cfb77b9 branch December 20, 2024 22:06
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants