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

bug #55: prevent request from serializing ZSTs as null #57

Merged
merged 2 commits into from Aug 18, 2020

Conversation

prestwich
Copy link
Collaborator

Motivation

Close #55.

Solution

Skip serializing if T is a zero-size type

@prestwich prestwich requested a review from gakonst August 18, 2020 00:00
@gakonst gakonst merged commit ca2ec0a into master Aug 18, 2020
@gakonst gakonst deleted the bug/request-nulls branch August 18, 2020 14:12
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
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.

JSON RPC request with no parameters is incorrectly serialized
2 participants