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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe change is a pure code refactoring/simplification in the AssetDetails component. It removes unused imports (Networks, selectProviderConfig, selectIsAllNetworks, selectEvmNetworkConfigurationsByChainId) and replaces a complex getNetworkName() callback function with a direct use of networkConfigurationByChainId?.name, which was already being fetched via the selectNetworkConfigurationByChainId selector. Key observations:
Since this is a low-risk refactoring change with no behavioral modifications and no direct E2E test coverage for this component, no E2E test tags are required. |
|



Description
Changed code to use exclusively the chain name of the token that is being viewed.
Changelog
CHANGELOG entry: Fixed a bug in the network name for the token detail page
Related issues
Fixes: #25100
Manual testing steps
Screenshots/Recordings
Before
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2026-01-23.at.12.16.49.mp4
After
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2026-01-23.at.13.02.35.mp4
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Fixes network name display in Asset Details by sourcing it directly from the network configuration for the current
chainId.selectNetworkConfigurationByChainIdandnetworkConfigurationByChainId?.namegetNetworkNamecallback; simplify state selectionnetworkNamein the inline header and in the "Network" section renderingWritten by Cursor Bugbot for commit c8923de. This will update automatically on new commits. Configure here.