We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bor client version: 0.3.5-beta
OS & Version: Linux
Environment: Polygon Mainnet
Type of node: Archive
eth_getTransactionReceiptsByBlock raises panic on non-existing block.
eth_getTransactionReceiptsByBlock
v0.3.5-beta
curl -X POST --data '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceiptsByBlock","params":["0x1cfe800"]}' -H "Content-Type: application/json" https://nd-xxx-xxx-xxx.p2pify.com/xxxxx-token
Log: https://gist.github.com/dkeysil/18c6d904ef6934123dadcbf89d4d2fc4
Additional Information
The problem happens because method BlockByNumberOrHash returning block=nil and error=nil https://github.com/maticnetwork/bor/blob/67843e17ecbd7e9acea16cab7c5a234602b85587/internal/ethapi/api.go
BlockByNumberOrHash
block=nil
error=nil
The text was updated successfully, but these errors were encountered:
Right now we fixed this problem by checking if block is nil, but the problem requires deeper investigation: chainstack@ddcd356
block is nil
Sorry, something went wrong.
PR: #736
No branches or pull requests
System information
Bor client version: 0.3.5-beta
OS & Version: Linux
Environment: Polygon Mainnet
Type of node: Archive
Overview of the problem
eth_getTransactionReceiptsByBlock
raises panic on non-existing block.Reproduction Steps
v0.3.5-beta
tageth_getTransactionReceiptsByBlock
with non-existing blockLogs / Traces / Output / Error Messages
Log: https://gist.github.com/dkeysil/18c6d904ef6934123dadcbf89d4d2fc4
Additional Information
The problem happens because method
BlockByNumberOrHash
returningblock=nil
anderror=nil
https://github.com/maticnetwork/bor/blob/67843e17ecbd7e9acea16cab7c5a234602b85587/internal/ethapi/api.go
The text was updated successfully, but these errors were encountered: