paradigmxyz / cryo

cryo is the easiest way to extract blockchain data to parquet, csv, json, or python dataframes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using with reth: retrieving contracts starting from block 0 always fails

Cybourgeoisie opened this issue · comments

commented

Version
cryo commit 041f38b, latest as of writing

Platform
Max OSX

Description

When using a reth archive node, using cryo contracts endpoint with block range starting at 0 always returns the following error:

Failed to get block: (code: -32001, message: Unknown block number, data: None)

The exact command used is:

cryo contracts -b 0:1000 --rpc http://192.168.1.183:8545 --compression gzip 6 -e chain_id --chunk-size 1000 --hex --requests-per-second 50

The same error appears when doing the following:

cryo contracts -b 0 --rpc http://192.168.1.183:8545