-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: Add re-simulation feature #12107
Conversation
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> This PR aims to add re-simulation logic which recently added at MetaMask/core#4792 Patch note: Transaction controller patch adds the re-simulate feature, branched belove to keep track - this will eventually be removed in subsequent releases. MetaMask/core@main...patch/mobile-transaction-controller-35-0-0 Fixes: MetaMask/MetaMask-planning#3380 Since the changes are in the core - it's already validated in the extension in the transaction lifecycle. But for the sake of risk, all transaction simulations will be rechecked and approval will be needed from QA as we discussed internally. https://github.com/user-attachments/assets/42a433d0-7156-4f6d-b45b-fd6cdda712ee NA NA - [X] 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). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] 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. --------- Co-authored-by: Nico MASSART <NicolasMassart@users.noreply.github.com>
f910be1
to
af41bb4
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/base-controller@7.0.1, npm/@metamask/controller-utils@11.3.0 |
Quality Gate failedFailed conditions |
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.
Okok seems that there is an awesome plan in place to fix the sonar quality gate and this is urgent! LGTM!
Description
This PR cherry-picks #12073
Quality gate failures:
These are expected as we discussed - all those failures will be addressed in the https://github.com/MetaMask/MetaMask-planning/issues/3584
Node version update:
It's a side effect of the bump to
7.0.1
of@metamask/rpc-errors
.https://github.com/MetaMask/rpc-errors/blob/main/package.json#L92
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3380
Manual testing steps
Screenshots/Recordings
This feature already tested and released.
Please see the original picked PR for recording.
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist