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: Engine does not exist, network controller is missing ids #9978

Merged
merged 4 commits into from
Jun 13, 2024

Conversation

tommasini
Copy link
Contributor

@tommasini tommasini commented Jun 13, 2024

Description

Added migration that populates the missing ids on network controller state

Related issues

Fixes: #9973
#9958

Manual testing steps

  1. Go to version 7.5.0
  2. Add a custom network via popular list
  3. Update to this PR
  4. Shouldn't have the Engine does not exist issue

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.

@tommasini tommasini added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) team-mobile-platform labels Jun 13, 2024
@tommasini tommasini requested a review from a team as a code owner June 13, 2024 14:02
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.

…lient id value and also to prioritize selected network client id be provider config id first instead of the key of a matching rpc url on networkConfigurations object
@gauthierpetetin gauthierpetetin linked an issue Jun 13, 2024 that may be closed by this pull request
…ning it, updated TSDoc on the migration, also added test cases for every scenario and more one that triggers when the rpc url matches on network configuration object and do not have id on provider config
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

sonarcloud bot commented Jun 13, 2024

@tommasini tommasini merged commit 44f03bd into release/7.24.1 Jun 13, 2024
28 checks passed
@tommasini tommasini deleted the fix/732-engine-does-not-exist-v2 branch June 13, 2024 16:47
@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2024
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Jun 13, 2024
@metamaskbot metamaskbot added the release-7.24.3 Issue or pull request that will be included in release 7.24.3 label Jun 19, 2024
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-7.24.3 on PR, as PR was added to branch 7.24.3 when release was cut.

@gauthierpetetin gauthierpetetin linked an issue Jul 4, 2024 that may be closed by this pull request
9 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.24.3 Issue or pull request that will be included in release 7.24.3 team-mobile-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

IOS - Metamask 7.23 to 7.24 [Sentry] Error: Engine does not exist
3 participants