Skip to content
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 dxd token display #2068

Merged
merged 2 commits into from
Aug 14, 2020
Merged

Fix dxd token display #2068

merged 2 commits into from
Aug 14, 2020

Conversation

dkent600
Copy link
Contributor

Resolves: #2065

Same fix applies to NEC

I'm not wild about this because it doesn't address the fact that someone has to remember/document that these tokens must always be submitted in lowercase.

@dkent600 dkent600 requested a review from orenyodfat August 14, 2020 13:59
@dkent600 dkent600 self-assigned this Aug 14, 2020
@dkent600 dkent600 temporarily deployed to alchemy-fixdxdtokendisp-kxvbes August 14, 2020 14:14 Inactive
@@ -48,7 +48,7 @@
"name": "Tether USD",
"symbol": "USDT"
},
"0xCc80C051057B774cD75067Dc48f8987C4Eb97A5e": {
"0xcc80c051057b774cd75067dc48f8987c4eb97a5e": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not alway do toLowerCase when reading that ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

believe me I tried to do something like that, but those are property names, not values. So requires that whole data structure change.

@orenyodfat orenyodfat temporarily deployed to alchemy-fixdxdtokendisp-kxvbes August 14, 2020 18:47 Inactive
@dkent600 dkent600 merged commit c1a422f into release Aug 14, 2020
dkent600 added a commit that referenced this pull request Aug 17, 2020
* cast all token addresses to lowercase

* bump version, changelog
dkent600 added a commit that referenced this pull request Aug 17, 2020
* Fix dxd token display (#2068)

* cast all token addresses to lowercase

* bump version, changelog

* revert subgraph endpoint domain (#2075)
dkent600 added a commit that referenced this pull request Aug 17, 2020
* cast all token addresses to lowercase

* bump version, changelog
dkent600 added a commit that referenced this pull request Aug 17, 2020
* Fix dxd token display (#2068)

* cast all token addresses to lowercase

* bump version, changelog

* revert subgraph endpoint domain (#2075)

* log, bump version
dkent600 added a commit that referenced this pull request Aug 17, 2020
* cast all token addresses to lowercase

* bump version, changelog
dkent600 added a commit that referenced this pull request Sep 22, 2020
* cast all token addresses to lowercase

* bump version, changelog
@orenyodfat orenyodfat deleted the fixDXDTokenDisplay-II branch November 2, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants