-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Light client errors: node-template --light
#9352
Comments
I can't reproduce it, works with both templates. But I have an Idea what the problem is, you may have a full-node db from an old run in the database directory. Light and full clients share a common dir but are not compatible. Just purge the chain with There's an issue #6880 and I also have a PR, which unfortunately nobody reviewed yet :-( #8658 that stores the database in a role-specific subdirectory. |
@hirschenberger sorry just checked in on this issue again. We abandoned using light clients at the time and now we're trying again. I've tried deleting the db but i still get a bunch of verification errors when it tries to talk to my bootnodes. |
We got past the point of "unexpected database type". Now our errors are purely as follows:
Our client is based off of the
|
@shibshib Sorry, I think I can't help yo here. Your issue seems unrelated to the OP's issue. |
Light client support was recently removed anyway from Substrate for the moment. So, I will going to close this issue. We still support the networking protocol and will also bring native support in Substrate at some point. |
Thanks @bkchr @hirschenberger , in this case do you have any recommendation for running a light client on Substrate? |
@shibshib if you are using Polkadot. You can use smoldot. |
The
substrate
binary works as expected with--dev --light
but the node template gives the error:Also reported that a local chainspec used with the node template doesn't work as expected:
Note they are using the https://github.com/substrate-developer-hub/substrate-node-template, not the included one directly here, and if any changes resolve these issues here, the devhub team will pull those into this repo on the next release.
The text was updated successfully, but these errors were encountered: