fix(rwa): display Ondo tokenized stocks with .on suffix#8039
Open
jguyton wants to merge 1 commit into
Open
Conversation
Ondo's tokenized stocks use an 'on' suffix in their on-chain ERC-20 symbol (e.g. TSLAon, AAPLon, ORCLon). The issuer display map abbreviated this to a single 'o', rendering TSLA.o, which doesn't match Ondo's on-chain symbol or branding. Use 'on' so the displayed symbol reads TSLA.on, consistent with the rest of the RWA test fixtures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On the explore stocks views, Ondo tokenized stocks render as
TSLA.o/AAPL.o. The issuer display map abbreviates Ondo to a single-letterosuffix:But Ondo's tokens use an
onsuffix in their actual on-chain ERC-20 symbol — verified on mainnet:ORCLon(0x8a23…33e1e)AAPLon, TeslaTSLAon, NVIDIANVDAon, etc.This also matches the token page (which shows
ORCLon) and Ondo's own published token list. The single-letter.ois the odd one out.Change
Map
ondotoonso the displayed symbol readsTSLA.on, matching the on-chain symbol and Ondo's branding. Other issuers are unchanged.This is also consistent with the rest of the RWA test suite, where Ondo fixtures already use
TSLA.on(e.g.rwaMatch.test.ts,useIsRWAGeoBlocked.test.ts,useLogRWATokenDetailsViewed.test.ts).Test
Updated
formatIssuerDisplaySymbol.test.tsto assertTSLA.on.