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: small refactoring of the latest migration script + add a new migration case #12694

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

dan437
Copy link
Contributor

@dan437 dan437 commented Dec 13, 2024

Description

Little follow up on this one: #12664

Main thing is to also mark a regular transaction as failed if the STX status was resolved. It's very rare (like the unknown state), but we want to handle such case as well.

Related issues

Fixes:

Manual testing steps

  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

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.

@dan437 dan437 requested a review from a team as a code owner December 13, 2024 13:44
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.

@metamaskbot metamaskbot added the team-transactions Transactions team label Dec 13, 2024
@dan437 dan437 force-pushed the update-migration-script branch from 57c2d1e to d85f8b6 Compare December 13, 2024 13:49
@dan437 dan437 added the Run Smoke E2E Triggers smoke e2e on Bitrise label Dec 13, 2024
Copy link
Contributor

github-actions bot commented Dec 13, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: d85f8b6
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/9d9001fa-76fc-42c6-ab30-7441d0a8fa25

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@dan437 dan437 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 13, 2024
Copy link
Contributor

@sethkfman sethkfman left a comment

Choose a reason for hiding this comment

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

LGTM

@dan437 dan437 added this pull request to the merge queue Dec 13, 2024
Merged via the queue into main with commit 82c500f Dec 13, 2024
45 of 46 checks passed
@dan437 dan437 deleted the update-migration-script branch December 13, 2024 16:47
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2024
@metamaskbot metamaskbot added the release-7.39.0 Issue or pull request that will be included in release 7.39.0 label Dec 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.39.0 Issue or pull request that will be included in release 7.39.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-transactions Transactions team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants