uniswap-tokenlist icon indicating copy to clipboard operation
uniswap-tokenlist copied to clipboard

Set Token List throws error in app.uniswap.org

Open willhennessy opened this issue 4 years ago • 0 comments

Hi team, I noticed the Set Token List is not appearing on app.uniswap.org. I think the following error message indicates the cause:

Failed to get list at url https://raw.githubusercontent.com/SetProtocol/uniswap-tokenlist/main/set.tokenlist.json Error: Token list failed validation: .tokens[59].name should match pattern "^[ \w.'+\-%/À-ÖØ-öø-ÿ:&\[\]\(\)]+$"

A recently added token contains name: 'DGEN CAPITAL #1 Index'. I think the # character is invalid in the token list schema.

To guard against this going forward, you could add a validation test to your CI flow: https://github.com/Uniswap/token-lists#validating-token-lists

willhennessy avatar Nov 30 '21 05:11 willhennessy