fix: selected network when there are two with the same chain id. #25805
fix: selected network when there are two with the same chain id. #25805montelaidev merged 17 commits intodevelopfrom
Conversation
|
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #25805 +/- ##
===========================================
+ Coverage 69.69% 69.69% +0.01%
===========================================
Files 1401 1401
Lines 49577 49590 +13
Branches 13701 13707 +6
===========================================
+ Hits 34548 34561 +13
Misses 15029 15029 ☔ View full report in Codecov by Sentry. |
Builds ready [c9bc7c6]
Page Load Metrics (219 ± 215 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
|
Hey @montelaidev, did you specifically ask for @MetaMask/design-system-engineers review for this PR? Trying to figure out why we got tagged as code owners here. Happy for our team to review if so |
Hey @georgewrmarshall, there was a change in a design system component that was reverted. I think its ok now, we can remove @MetaMask/design-system-engineers from the reviewers. Thanks for checking in! |
Builds ready [b741527]
Page Load Metrics (325 ± 281 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
Builds ready [cd9e0b7]
Page Load Metrics (157 ± 168 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
|
Do we know how/when this regressed? Please test re: v12, 12.1, etc, because this is problematic |
Builds ready [1e3ee98]
Page Load Metrics (140 ± 155 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
Builds ready [46b22c1]
Page Load Metrics (458 ± 384 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|



Description
This PR fixes the issue when there are two networks with the same chain id and the default network is selected.
Related issues
Fixes: #25763
Manual testing steps
1Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist