-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Bad checksum validation in "Add custom token" for RSK (or non ETH chains) #3606
Comments
Thanks for the report. Is this the case for all non-Ethereum networks, or just RSK? IIRC, RSK uses a different way to generate address checksums, so it's possible that the function to validate the address isn't using that for the custom token functionality. |
Hi @Mrtenz, TBH I didn't try other networks but it should fail for every network that implements EIP1191 or with a different checksum calculation |
Ok, thank you. I will investigate further and push a fix soon. You might be able to get around this by using lowercase addresses for now (though I haven't tested this). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is currently blocked by #3363 due to Node.js incompatibilities. Once that PR is merged, I'll make a PR for this issue. |
I figured out a solution, it should be included in the next release of the legacy app. |
Description of Issue
"Add custom token" has an invalid address checksum validation for non ETH networks (RSK in this case)
What exactly were you doing when you encountered this issue?
1- Connect to RSK Mainnet
2- "Add custom token"
3- Put
0xE700691Da7B9851F2F35f8b8182C69C53ccad9DB
as address4- Check "Not a valid address" message
How were you accessing your wallet?
It doesn't matter in this case
Description of Your Machine
Console Logs / Screenshots
The text was updated successfully, but these errors were encountered: