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

Bad checksum validation in "Add custom token" for RSK (or non ETH chains) #3606

Closed
alepc253 opened this issue Nov 11, 2020 · 6 comments
Closed

Comments

@alepc253
Copy link
Contributor

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 address
4- Check "Not a valid address" message

How were you accessing your wallet?

It doesn't matter in this case

Description of Your Machine

  • MyCrypto Desktop Application
  • MyCrypto Version Number: 1.7.10

Console Logs / Screenshots

Captura de Pantalla 2020-11-11 a la(s) 12 09 06

@Mrtenz
Copy link
Collaborator

Mrtenz commented Nov 17, 2020

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.

@alepc253
Copy link
Contributor Author

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

@Mrtenz
Copy link
Collaborator

Mrtenz commented Nov 17, 2020

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).

@stale
Copy link

stale bot commented Jan 16, 2021

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.

@stale stale bot added the wontfix label Jan 16, 2021
@Mrtenz
Copy link
Collaborator

Mrtenz commented Jan 16, 2021

This is currently blocked by #3363 due to Node.js incompatibilities. Once that PR is merged, I'll make a PR for this issue.

@Mrtenz
Copy link
Collaborator

Mrtenz commented Jan 29, 2021

I figured out a solution, it should be included in the next release of the legacy app.

@Mrtenz Mrtenz closed this as completed Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants