Repository navigation
chore(cashtag): exact match symbol or ticker cp-13.56.0 - #47602
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. |
Builds ready [7f0b9b8]
⚡ Performance Benchmarks (Total: 🟢 5 pass · 🟡 4 warn · 🔴 4 fail)
Bundle Size Diffs
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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 baeeead. Configure here.
Include includeRwaData on cashtag symbol search so exact RWA ticker matching can resolve hits from the API. Co-authored-by: francis.nepomuceno <francis.nepomuceno@consensys.net>
| query: symbol, | ||
| first: '25', | ||
| includeMarketData: 'true', | ||
| includeRwaData: 'true', |
| const symbolMatches = matches.filter( | ||
| (match) => | ||
| match.symbol.trim().toUpperCase() === ticker || | ||
| match.rwaData?.ticker?.trim().toUpperCase() === ticker, |
Builds ready [5a9ae03]
⚡ Performance Benchmarks (Total: 🟢 9 pass · 🟡 1 warn · 🔴 3 fail)
Bundle Size Diffs
|
|
|
No release label on PR. Adding release label release-13.57.0 on PR, as PR was added to branch 13.57.0 when release was cut. |




Description
Update ticker resolution to exact symbol or rwa ticker
Changelog
CHANGELOG entry: cashtag: exact symbol/ticker match
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Changes user-visible cashtag resolution on external sites and depends on RWA fields from the token search API; wrong filtering could show the wrong asset or none at all.
Overview
Cashtag ticker lookup no longer treats search hits as prefix matches (e.g.
$DOGwon’t pickDOGEjust because it has higher market cap).resolveTickernow keeps only assets whose token symbol orrwaData.tickerequals the trimmed, uppercased query, then still picks the primary hit by market cap among those exact matches.Token search requests add
includeRwaData=trueso stock/RWA-backed tokens can match on their real-world ticker, not only the on-chain symbol. Tests were updated for the new matching rules and cover exact-symbol vs prefix cases and RWA ticker resolution.Reviewed by Cursor Bugbot for commit 5a9ae03. Bugbot is set up for automated code reviews on this repo. Configure here.