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
Hedera mainnet is having issues with calling this block "0x4475775" with Json RPC method "eth_getBlockByNumber"
Request
curl --location "mynode-ip" \ --header "Content-Type: application/json" \ --data "{ \"method\":\"eth_getBlockByNumber\", \"params\":[\"0x4475775\", true], \"id\":1, \"jsonrpc\":\"2.0\" }"
Response: Error code 500
{ "error": { "code": -32603, "message": "[Request ID: 5412474a-5422-4882-b409-243c7d834e35] Error invoking RPC: Invalid value - cannot pass negative number" }, "jsonrpc": "2.0", "id": 1 }
But same block can be called via direct call
https://mymainnet-node/api/v1/blocks/71784309
It returns value:
{ "count": 6, "hapi_version": "0.55.2", "hash": "0xbf427aa2d4544529ad2d748c80c4e75d86ae617e2eeef2965caf10e80cea6e43c568ae35eaa080aec10eaefbed772256", "name": "2024-11-20T10_17_10.392550000Z.rcd.gz", "number": 71784309, "previous_hash": "0x2ffd2b77a11e7ef4d0cf262846bdf7644cad793f3c7bb68d1e662fff2aef53e8b6016ccbf85feeac740f0eab63ed1974", "size": 1517, "timestamp": { "from": "1732097830.392550000", "to": "1732097830.761018000" }, "gas_used": 0, "logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }
Similar issue is reported in #2557
Further I verified the same call with public end point as well and we get the same error.
curl --location "https://mainnet.hashio.io/api" \ --header "Content-Type: application/json" \ --data "{ \"method\":\"eth_getBlockByNumber\", \"params\":[\"0x4475775\", true], \"id\":1, \"jsonrpc\":\"2.0\" }"
No response
mainnet
v0.63.1
Linux
The text was updated successfully, but these errors were encountered:
@natanasow believes it might be resolved with his upcoming PR
Sorry, something went wrong.
The upcoming PR #3387.
natanasow
No branches or pull requests
Description
Hedera mainnet is having issues with calling this block "0x4475775" with Json RPC method "eth_getBlockByNumber"
Request
Response:
Error code 500
But same block can be called via direct call
https://mymainnet-node/api/v1/blocks/71784309
It returns value:
Similar issue is reported in #2557
Further I verified the same call with public end point as well and we get the same error.
Steps to reproduce
Request
Additional context
No response
Hedera network
mainnet
Version
v0.63.1
Operating system
Linux
The text was updated successfully, but these errors were encountered: