-
Notifications
You must be signed in to change notification settings - Fork 544
fix: Add chain fallback for wallet switching #5668
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: Add chain fallback for wallet switching #5668
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 06170ae The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5668 +/- ##
=======================================
Coverage 50.72% 50.72%
=======================================
Files 1092 1092
Lines 57213 57209 -4
Branches 4630 4629 -1
=======================================
+ Hits 29019 29020 +1
+ Misses 27478 27473 -5
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more.
|
Problem solved
CNCT-2609
PR-Codex overview
This PR addresses an issue where adding a blockchain network was not triggering for certain wallets. It modifies the error handling in the
wallet_addEthereumChain
process to ensure the chain is added correctly when the error code indicates it does not exist.Detailed summary
any
type handling in the catch block.