-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Issues with importing ethereum compatible accounts from parity signer app #5589
Comments
For Error 1 - we could actually accept both I believe, at least on the keyring side. Since the decoding of the ss58 should just yield the Ethereum address. However, this may be completely broken now that I think of it if we pass the full publicKey there. On 2, yes, indeed, we should just extend that check. |
So here is the problem with importing ethereum addresses from the mobile signer (related to polkadot-js/extension#758) :
works well but returns a 20bytes publicKey, which throws an error in What should we do about that?
|
@jacogr please take a look when you have time |
I would go for the first option to make it more tolerant - basically if we go for the second, we end up with a publicKey that is completely different and then we will derive a completely different address from it as well. To go for option 1, not sure what it entails atm, I fear we may need to add something "hacky" somewhere to cater for this. |
this little modification is what it takes : polkadot-js/common#1032 @jacogr |
this PR is necessary polkadot-js/ui#491 also |
@albertov19 please test again and confirm desired behavior |
Is this still an ongoing issue? |
Currently the problem is with the Parity Signer mobile app itself and not the app (see novasamatech/parity-signer#787 (comment)) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
Error 1
Proposed solution
Popup an error message for ethreum compatible parachains, since users are not supposed to use the mobile app that way
Error 2
Proposed Solution
allow ethereum prefix for ethereum compatible parachains
Im off course volunteering to implement the solutions
The text was updated successfully, but these errors were encountered: