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

chore: update jsonrpsee to 0.22.1 #4549

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Mar 13, 2024

I need it for something.

@dpc dpc requested a review from a team as a code owner March 13, 2024 02:06
Comment on lines -275 to +272
jsonrpsee::core::Error::RequestTimeout
// TODO: find a better error for this, the error we used before:
// jsonrpsee::core::Error::RequestTimeout
// was moved to be client-side only
ErrorObject::owned(-32000, "Request timeout", None::<()>)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this is the -32000 we were hitting before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually don't know what's the right code for request timeout, but jsonrpc error codes are not http codes and are like this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea we should define our own error codes, -32000 is "unknown error code"

@dpc dpc added this pull request to the merge queue Mar 13, 2024
@maan2003 maan2003 mentioned this pull request Mar 13, 2024
Merged via the queue into fedimint:master with commit 02abf76 Mar 13, 2024
20 checks passed
@dpc dpc deleted the 24-03-12-update-jsonrpsee branch March 13, 2024 19:56
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.

None yet

3 participants