Conversation
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. |
n3ps
commented
Mar 3, 2026
| ).toStrictEqual({ | ||
| eip155: { | ||
| '0x1': true, | ||
| '0x89': false, |
Contributor
Author
There was a problem hiding this comment.
Evidence that script was not preserving networks
Contributor
Builds ready [ab83042]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
Contributor
Builds ready [d1ec7f6]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
gambinish
approved these changes
Mar 4, 2026
AndyMBridges
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Fixes migration 171 so enabledNetworkMap is merged by namespace + chain ID instead of shallow-overwriting namespace objects.
When both tokenNetworkFilter and selectedMultichainNetworkChainId resolve to eip155, existing EVM entries are now preserved and the selected chain is set to true, rather than collapsing the map to only the selected chain.
Changelog
CHANGELOG entry: fix: network list migration
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Updates state-migration logic for
enabledNetworkMap, which can affect users’ persisted network enablement settings if the merge behavior is incorrect. Scope is small and covered by expanded unit tests for EVM and non-EVM cases.Overview
Migration
171now mergesenabledNetworkMapby namespace while preserving existing chain entries, avoiding the previous shallow spread that could overwrite an entire namespace when both maps resolve toeip155.Tests were updated/added to assert EVM token filter entries are preserved and that a selected custom EVM chain (and other expected chain IDs) is added/enabled correctly.
Written by Cursor Bugbot for commit d1ec7f6. This will update automatically on new commits. Configure here.