We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've created this POC to showcase the issue (run node index.js from the terminal that's at the bottom).
node index.js
Basically, what happens is that the smoldot chains can't process RPC messages like this one:
'{"jsonrpc":"2.0","id":"extern:\\"health-checker:0\\"","method":"system_health","params":[]}'
Despite the fact that chain.sendJsonRpc doesn't throw, a message gets logged in the console that reads:
chain.sendJsonRpc
Refused malformed JSON-RPC request: data did not match any variant of untagged enum SerdeId
The text was updated successfully, but these errors were encountered:
Caused by serde-rs/json#742
I wasn't aware of this. It's really bad.
Sorry, something went wrong.
tomaka
Successfully merging a pull request may close this issue.
I've created this POC to showcase the issue (run
node index.js
from the terminal that's at the bottom).Basically, what happens is that the smoldot chains can't process RPC messages like this one:
'{"jsonrpc":"2.0","id":"extern:\\"health-checker:0\\"","method":"system_health","params":[]}'
Despite the fact that
chain.sendJsonRpc
doesn't throw, a message gets logged in the console that reads:The text was updated successfully, but these errors were encountered: