-
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
Unable to run certain runtime-apis on the Kilt parachain #1914
Comments
The only thing that the logs show is that the Substrate node rejects connections from smoldot. |
Are you sure that's the issue? I see call proof requests for the
The kilt runtime and node are still on a fairly old v1 of the polkadot-sdk (~1.1 I think), and we have hopes that these issues may disappear with the next upgrade. But without knowing what the issue may be this is hard to predict. |
Yeah it's not clear what happens given that the logs are very dense. I didn't notice the call proof failing to be decoded on the smoldot side, but towards the bottom of the logs the Substrate nodes do force-reset the connections for smoldot. I don't know if both issues have the same underlying cause. |
We (the Polkadot-API team) have been advocating for teams within the ecosystem to avoid creating their own RPC endpoints and instead utilize custom runtime APIs. However, the Kilt parachain is experiencing issues with some of their runtime APIs when using Smoldot. Specifically, Smoldot consistently triggers an
operationInaccessible
event for some runtime APIs.One possible explanation is that the Kilt parachain node was built using an older version of the Polkadot-SDK (version 1.0.0). They are currently in the process of upgrading their nodes to version 1.7.0. We are hopeful that this upgrade will resolve the issue.
Despite this, we decided to report the bug, in case the problem is not related with the version of their node.
Using polkadot-api, on a bun/nodejs project the following code:
results on the
kiltApi.apis.Did.query_by_web3_name
request never resolving.These are the logs of what's happening over the wire:
wire.txt
These are the logs from smoldot:
smoldot-logs.txt
The chainspec, in case it's useful:
spiritnet.json
cc @rflechtner
The text was updated successfully, but these errors were encountered: