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

Klaytn node don't return block 0x8650867 (140839015 in decimal) #2120

Open
nikolaikolosov opened this issue Mar 25, 2024 · 2 comments
Open
Labels

Comments

@nikolaikolosov
Copy link

nikolaikolosov commented Mar 25, 2024

Bug description
Can't receive the block 0x8650867 with using Klaytn RPC API. Blocks 0x8650866 and 0x8650868 could be received successfully.

Steps to reproduce
Make a request:
curl -X POST http://KLAYTN_VALIDATOR_NODE_ADDRESS:KLAYTN_VALIDATOR_NODE_PORT -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0x8650867",{"tracer":"callTracer","timeout":"120s"}],"id":4482549}'

Expected behavior
Response with block content, same as for this request:
curl -X POST https://archive-en.cypress.klaytn.net -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0x8650867",{"tracer":"callTracer","timeout":"120s"}],"id":4482549}'

Actual behavior
curl: (52) Empty reply from server

Additional context
I would like to understand, which node parameters I have to change to receive block 0x8650867? If it possible, I would like to get configuration of Klaytn node, which serves endpoint https://archive-en.cypress.klaytn.net

@hyunsooda
Copy link
Contributor

Hi @nikolaikolosov,

The API faces limitations during heavy operations. Specifically, debug_traceBlockByNumber necessitates state regeneration, which is considered a resource-intensive task. Under standard settings, if regeneration exceeds 60 seconds, the API operation will not succeed, rendering the timeout option ineffective. However, if you are operating your own node, you have the option to adjust the regeneration time threshold, allowing for greater flexibility.

Copy link

Exalate commented: Issue Created by: nikolaikolosov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants