fix: on send recipient page filter addresses by chain#24262
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 changes modify the Key changes:
The change is well-scoped to the confirmations send flow and has corresponding unit test updates. The Since this directly affects the confirmation/send flow UI and behavior, the |
|



Description
On send recipient page filter addresses by chain id.
Changelog
CHANGELOG entry:
Related issues
Fixes: #22810
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Narrows recipient suggestions to the active chain.
useContactsnow readschainIdfromuseSendContextand returns contacts only fromaddressBook[chainId], deduplicatedLOWER_CASED_BURN_ADDRESSES); returns[]forisNonEvmSendTypechainIduseSendContext, expect chain-scoped results, handle hex chain IDs (e.g.,0x1), and cover burn/invalid address filtering and empty/edge casesWritten by Cursor Bugbot for commit b12adcf. This will update automatically on new commits. Configure here.