-
Notifications
You must be signed in to change notification settings - Fork 74
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
"Invalid subscription" panic in runtime_service #2190
Comments
So this is actually subtle. If the sync service closes the blocks subscription, the runtime service also automatically closes all its active block subscriptions, which makes sense. |
And the solution is for "another piece of code" to check if the block they are trying to use is still pinned or not, isn't it? |
This is a good solution from the point of view of the runtime service, but it's not clear to me whether the API users would be able to handle this error properly. |
When starting the demo and connecting to Polkadot, Kusama and Westend all together, I occasionally have a panic here:
smoldot/bin/light-base/src/runtime_service.rs
Line 403 in 1b229e9
The text was updated successfully, but these errors were encountered: