Using with reth: retrieving contracts starting from block 0 always fails
Cybourgeoisie opened this issue · comments
Ben 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