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

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

Open
Cybourgeoisie opened this issue Dec 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Cybourgeoisie
Copy link

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

@Cybourgeoisie Cybourgeoisie added the bug Something isn't working label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant