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

feat(sequencer): deprecated endpoint error code #510

Merged

Conversation

clint419
Copy link
Contributor

@clint419 clint419 commented Dec 2, 2023

@clint419 clint419 changed the title Fixed JSON-RPC error handle bug Fixed RPC error handle bug Dec 2, 2023
@xJonathanLEI
Copy link
Owner

I see you're adding 2 things:

  1. support for parsing the data field when there's an error
  2. support for the new deprecated endpoint error code from the sequencer

1 has been implemented by #513 (in a more idiomatic way too). I will now rebase this PR to only include 2. Thanks for the fix.

@xJonathanLEI xJonathanLEI force-pushed the fixed_jsonrpc_error_handle branch from 67b8285 to 667839f Compare December 5, 2023 17:40
@xJonathanLEI xJonathanLEI changed the title Fixed RPC error handle bug feat(sequencer): deprecated endpoint error code Dec 5, 2023
@xJonathanLEI
Copy link
Owner

In fact, the best way to deal with the deprecated endpoints would be to simply remove them for good, but let's leave that for another day.

@xJonathanLEI xJonathanLEI merged commit fec81d1 into xJonathanLEI:master Dec 5, 2023
24 checks passed
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: There are two bugs in the RPC error handling.
2 participants