-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shovel/jrpc2: add unique request ids to json rpc requests
Surprisingly most api providers (and nodes) don't care too much about the request id, but that is not the case with Chainstack. I observed the following error when using their api: rpc=eth_getBlockByNumber code=-32603 msg=duplicate request ID I no longer see these errors after adding some random bytes into the request id.
- Loading branch information
1 parent
476ed7f
commit 978d390
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters