Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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