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: mm infinite switch chain loop #7719

Merged
merged 5 commits into from
Sep 10, 2024
Merged

Conversation

gomesalexandre
Copy link
Contributor

Description

Fixes a regression introduced in https://github.com/shapeshift/web/pull/7697/files#diff-ae33f6e4021508ebc3b64c4a8885e8ab7332e8ef8fda4b21ed5bc1961db38e88 - we absolutely do not want to ethSwitchChain() on every getAddress() calls, as subscribeTxs() and a few other places will call it with various chainIds.

Issue (if applicable)

closes #7718

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

None, reverts offending line to previous behaviour.

Testing

  • Connect to MM
  • Ensure you can actually use the app without infinite switch chain MM popups.

Engineering

  • ^

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)
  • ^

Screenshots (if applicable)

  • develop

jam.dev/c/59860845-5b28-4185-a792-56b540a07156

  • This diff

https://jam.dev/c/aad4c72a-b1f5-4c4b-882a-a26f55f1db9d

@gomesalexandre gomesalexandre requested a review from a team as a code owner September 10, 2024 09:56
@gomesalexandre gomesalexandre changed the title feat: unrug release CI (#7717) fix: mm infinite switch chain loop Sep 10, 2024
@gomesalexandre gomesalexandre changed the base branch from develop to release September 10, 2024 09:57
Copy link
Collaborator

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

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

https://jam.dev/c/5d0d72a6-d9ae-4315-bc61-ffafb390e35c

Confirming it's not buggy anymore

@gomesalexandre gomesalexandre merged commit 2ac205f into release Sep 10, 2024
3 checks passed
@gomesalexandre gomesalexandre deleted the fix_mm_regression branch September 10, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MM infinite switch chain prompt
2 participants