-
Notifications
You must be signed in to change notification settings - Fork 254
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
unstable backend incompatible with smoldot v0.18: chainHead API
doesn't work
#1749
Comments
This text is confusing to me :D I think youy're saying: Subxt's current I guess the solution to this would be to either:
I'm leaning to updating to Smoldot v0.18 at this point. it's still marked unstable anyway, and if there are sync issues then this will highlight them and we can report to Smoldot and try to get them fixed. The main issue for me is that the light client tests might no longer be any good if syncing is broken, or are these fine because it's a brand new dev node? |
Yes, that is correct |
To add something I forgot after our discussion: The |
Fixed by #1400 |
subxt's current UnstableBackend uses chainHead_v1_* methods, but smoldot 0.16 (which Subxt is using) is expecting chainHead_unstable_* methods, so the lightclient feature in Subxt isn't currently working.
Example to re-produce this:
Logs
Solutions
rpc_methods
to identify which APIs are exposed by the node that subxt connected to. So, the only option is to downgrade subxt to an older client before chainHead was stabilized./cc @lexnv @jsdw
The text was updated successfully, but these errors were encountered: