bsc-archive-snapshot icon indicating copy to clipboard operation
bsc-archive-snapshot copied to clipboard

getting block not found for older blocks

Open chetanbothra opened this issue 2 years ago • 1 comments

Downloaded the latest v1 version two times and ran with Erigon's stable version. It took few hours and its now sync with latest block , however when i run older blocks, i get block not found error.

Sample Request

curl -X POST --header 'Content-Type: application/json' --data '[{"jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": ["0xd2d985", {"tracer": "callTracer", "timeout": "600s"}], "id": 13818245}]' localhost:8545

Response

[{"jsonrpc":"2.0","id":13818245,"result":null,"error":{"code":-32000,"message":"invalid arguments; block with number 13818245 not found"}}]

Please advice.

chetanbothra avatar Dec 31 '22 03:12 chetanbothra

Can you try a contact function on a specific block instead? It is possible that the snapshots folder is corrupt, which is easy to rebuild... It takes a couple days.

allada avatar Dec 31 '22 08:12 allada