Skip to content
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

Remove MalformedJsonRpcError #1116

Merged
merged 5 commits into from
Sep 7, 2023
Merged

Remove MalformedJsonRpcError #1116

merged 5 commits into from
Sep 7, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Sep 6, 2023

Close #1098

Removing this makes smoldot "more conforming" to the specification. It removes possible confusion due to the fact that smoldot didn't do exactly what the JSON-RPC specification says should happen.

It also makes it easier in general to plug an actual TCP/IP JSON-RPC server on top of a light client if needed, without having to understand the JSON-RPC specification.

The drawback of this PR is that it removes feedback about which request exactly has an issue. However this is very much a "never supposed to happen" problem, and this feedback is pretty useless.

@tomaka tomaka added this pull request to the merge queue Sep 7, 2023
Merged via the queue into smol-dot:main with commit f88dd9a Sep 7, 2023
21 checks passed
@tomaka tomaka deleted the fix-1098 branch September 7, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove JSON-RPC parse error result on server entry point
1 participant