Closed jstashh closed 2 years ago
Path | Size |
---|---|
dist/sdk.cjs.production.min.js | 43.54 KB (+0.01% 🔺) |
dist/sdk.esm.js | 43.79 KB (+0.01% 🔺) |
Ahh this was my bad, sorry guys didn't realize that they would be different. Thanks for fixing it @jstashh 🙇
@karelianpie don't worry 🙂 not sure why they're not using checksummed addresses anyway..
Description
Use lowercased addresses when building icon urls (in the state they are fetched from zapper)
Related Issue
e.g. https://assets.yearn.network/tokens/ethereum/0xc770eefad204b5180df6a14ee197d99d808ee52d.png https://assets.yearn.network/tokens/ethereum/0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d.png
the checksummed link does not work
Motivation and Context
https://github.com/yearn/yearn-sdk/pull/249/files broke fetching the icons for some tokens
How Has This Been Tested?
By verifying that lowercased addresses in urls are able to be loaded correctly