-
Notifications
You must be signed in to change notification settings - Fork 102
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(token-list): increase token symbol validation length #4913
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
… fix/token-list-validation-symbol-32
Hey @shoom3301 , that's great! However, I'd add 'Error importing list' error message to the UI when something is wrong with a source link |
@elena-zh thanks! This problem is out of this task scope, I would take care of it later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #4915 task for my comment above.
Summary
Context: https://cowservices.slack.com/archives/C05QVFJUX9R/p1726893122604539
We currently use Uniswap token lists validation schema and it's strct enough.
In order to support new requirements I changed the validation schema:
^[\w\d\-\+_\.\s]+$
^[\w\d\-\+_\.\s]+$
To Test
https://raw.githubusercontent.com/cowmarketing/cowidget-custom-token-lists/refs/heads/main/pendle_pt.json - should be added into CoW Swap with no valdiation errors