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

let version be omitted when deserializing a request #13

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

Georges760
Copy link
Contributor

version is already optional on Response

@DoumanAsh
Copy link
Owner

This is not actually very good that it is optional on Response.
Do you have particular need for it to be optional?

@Georges760
Copy link
Contributor Author

Unfortunately, yes, many Stratum server send Notification (Request without id) without version field...

@DoumanAsh
Copy link
Owner

DoumanAsh commented Aug 28, 2023

This Stratum is awful...
I guess there is no problem to have it as default value, but I really think these guys should consider to actually read JSON-RPC spec, it is not even that long.

Anyway
I will merge and release new version after work today

@DoumanAsh
Copy link
Owner

on side note is this repo with protocol?
https://github.com/aeternity/

If so it is pretty funny:
aeternity/protocol#359

@DoumanAsh DoumanAsh merged commit 8e1f975 into DoumanAsh:master Aug 28, 2023
1 check passed
@DoumanAsh
Copy link
Owner

Released 1.3.4

@Georges760
Copy link
Contributor Author

thx a lot mate

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.

2 participants