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

fix(provider): serialize no parameters as [] instead of null #1193

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Aug 26, 2024

Turns out unit/empty tuple (()) is special-cased in serde to be serialized as null, when we want an empty array.

Fixes #1190

@DaniPopes DaniPopes changed the title fix(provider): replace unit with empty array in ChainStreamPoller fix(provider): serialize no parameters as [] instead of null Aug 26, 2024
@DaniPopes DaniPopes merged commit cecf1b8 into main Aug 26, 2024
26 checks passed
@DaniPopes DaniPopes deleted the dani/poller-null branch August 26, 2024 11:59
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.

[Bug] rpc server returns error: server returned an error response: error code -32600
3 participants