-
Notifications
You must be signed in to change notification settings - Fork 415
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
Uncaught Error: Expected a valid key to convert, with length 1, 2, 4, 8, 32, 33 #1250
Comments
Does it inject and display the accounts on the apps UI? (There are additional filters that dapps need to apply for Ethereum-like accounts - the extension only supplies the accounts, the dapp needs to filter based on chain type) |
Verified - it is related to the actual dapps, not the extension. Can re-create the issue on the specified dapps with Ethereum accounts. I would suggest raising the issue there - there is nothing the extension can do, it supplies all accounts to the apps (unless there is a genesis specified by the dapp, in that case it would filter to the accounts for the specific genesisHash). So it sits purely in the account handling code for the dapps. |
yes for example with Zeitgeist it already shows all my balances successfully in the apps UI. however i did notice that i hadn't updated my metadata so i did that as shown below, but it still showed the same error in the Zeitgeist and RMRK dapps |
Like I said above - it is in the account handling for the specific dapps. You need to log the issue there. (Ethereum-accounts are non-32-bytes in length, so when injected by the extension it cannot be handled by them) |
So I just checked and https://singular.app have fixed the error. |
Note that the pjs exension also allows EVM accounts when imported through json afair. The solution is indeed on the dapp side, and is actually not related to the extension, but rather the functions such as |
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. |
I'm submitting a ...
What is the current behavior and expected behavior?
If I go to https://app.zeitgeist.pm/, using the latest Polkadot.js Extension version 0.44.1, and using the latest Brave browser version 1.50.119 Chromium: 112.0.5615.121 (Official Build) (x86_64).
It displays the following error in the DevTools console:
Clicking the error messages shows that it's related to the Polkadot.js Extension
So if i try clicking "Connect" and selecting "Polkadot.js Extension" to connect my wallet it doesn't work.
In the past I have been able to connect my wallet this way without any issues.
Note that I have authorised the website to connect to Polkadot.js Extension already:
Additionally, if i go to https://singular.app/, using the same version of Polkadot.js Extension and Brave version.
It displays the following error in the DevTools console:
Clicking the error messages shows that it's related to the Polkadot.js Extension
Then when I click to "Connect" and choose "Select account" to choose a wallet using the Polkadot.js Extension, it then shows a modal indicating that I don't have any accounts, even though I do.
In the past I have been able to connect my wallet this way without any issues.
I'm an end-user of these Substrate-based chains. Seeing a similar error across more than one of them made report it here incase its a bug report or support request that could help more than one chain.
Please tell us about your environment:
Version: 0.44.1
Environment:
Language:
N/A
The text was updated successfully, but these errors were encountered: