-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: cp-7.60.0 use correct chainId collectibles for nft send flow #22966
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: cp-7.60.0 use correct chainId collectibles for nft send flow #22966
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. |
app/components/Views/confirmations/components/hero-nft/hero-nft.test.tsx
Show resolved
Hide resolved
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThese changes address multi-chain network selection issues and NFT display in confirmations. Here's the breakdown: Changes Made:
Risk Assessment - MEDIUM:
Tag Selection Rationale:
Confidence: 85% - High confidence based on:
|
|



Description
The underlying sendflow uses
selectChainIdwhich should be marked as deprecated.This has unearthed a very large scope at this selector underpins many areas in mobile and extension 💀
Ideally all flows and features should move away from this selector and handle multiple selected chainIDs.
Changelog
CHANGELOG entry: fix: correct nft images available during send flow
Related issues
Fixes: #20982
Manual testing steps
Screenshots/Recordings
Before
After
https://www.loom.com/share/683675a4c01b47b0a99f6ff5e9dfa30a
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Fetch NFTs by the correct hex chainId via a new selector in the send flow, refine HeroNft placeholder/interaction, and add selector tests with deprecation notes for legacy selectors.
reducers/collectibles/selectAllCollectiblesByChain: returns collectibles for selected address and givenHexchainId; includes unit tests.collectiblesSelectorandselectChainId(comments only).useNftto useselectAllCollectiblesByChainand hexifiedchainId; derive NFT bytokenId.HeroNftplaceholder: remove "Show" text, only show#tokenIdwhen available; block navigation when no NFT.collection.imageUrl, assertions).Written by Cursor Bugbot for commit 0247941. This will update automatically on new commits. Configure here.