Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c61ce58. Configure here.
| const renderTo = renderFullAddress(to); | ||
| const chainId = txChainId; | ||
|
|
||
| const tokenList = |
There was a problem hiding this comment.
Unused chainId variable after tokensChainsCache removal
Low Severity
The const chainId = txChainId assignment is now dead code. It was previously used only for the tokensChainsCache lookup that was removed in this cleanup. The variable is assigned but never read in this function scope (txChainId is referenced directly at line 884 for transactionDetails).
Reviewed by Cursor Bugbot for commit c61ce58. Configure here.
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - draft PR All E2E tests pre-selected. |
|
|
✅ E2E Fixture Validation — Schema is up to date |






Description
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/ASSETS-3058
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Touches transaction labeling and smart-contract detection logic; while mostly cleanup, it could change UI strings and increase reliance on RPC
getCodecalls if any callers previously benefited from the cache shortcut.Overview
Completes the
tokensChainsCachedeprecation by deletingselectors/tokenListController.tsand strippingTokenListController.tokensChainsCachefrom mocks, fixtures, Sentry allowlists, and snapshot expectations.Updates asset/transaction code paths to stop reading token metadata from the token-list cache:
selectAssetnow sourcesaggregatorsfromTokensController.allTokens,decodeConfirmTxno longer prefixesactionKeywith a cached token symbol, andisSmartContractAddressremoves the mainnet “in cache” fast-path so contract detection always checks on-chain code. Related tests are adjusted accordingly.Reviewed by Cursor Bugbot for commit c4c505c. Bugbot is set up for automated code reviews on this repo. Configure here.