-
Notifications
You must be signed in to change notification settings - Fork 51
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
state_getKeys
wrongly returns an empty list
#174
Comments
Great, I experienced the same issue in the staking dashboard when fetching |
Received proofs: logs.txt |
I just wanted to point out that After paritytech/substrate#10623, #177 will improve the execution time further. |
Thanks for looking into this @tomaka and also for sharing all this context. Much appreciated! I always assumed that it would take a rather long time for a light-client to resolve a So, are you saying that it's not possible for smoldot to resolve the EDIT: |
I've created this sandbox on stackblitz to reproduce and isolate the issue.
In short, the issue is that smoldot -while connected to the polkadot network- returns an empty list of keys as a response to the following RPC request (which, in this example, asks for the keys of the
staking.validators
storage entry):while the exact same RPC request against
wss://apps-rpc.polkadot.io/
returns a very long list of keys.The text was updated successfully, but these errors were encountered: