Returned Addresses are not checksummed by default #1054
Unanswered
nalinbhardwaj
asked this question in
Idea / Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems addresses returned by viem, for example by the Log type in
getLogsare not checksummed by default. This can be annoying as one might expect all objects of typeAddressto be checksummed/consistent and for example using them as a map key would resolve to different entries (if there are addresses user may have put in manually or from https://wagmi.sh which by default does use checksummed addresses).Two possible suggested fixes:
Beta Was this translation helpful? Give feedback.
All reactions