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

When scraping a non-mainnet chain, why do we require a mainnet RPC? #10

Open
tjayrush opened this issue Mar 2, 2025 · 1 comment
Open

Comments

@tjayrush
Copy link
Member

tjayrush commented Mar 2, 2025

You're right. It does require an RPC endpoint for mainnet (but it can be a slow, public one if you're scraping a different chain). There's a couple of issues here:

  1. It should fail WAY more gracefully.
  2. The docs should report this requirement.

I wrote this issue: #9 (comment)

I guess there's two way to handle this:

  1. Require the end user to have an RPC for Ethereum mainnet,
  2. Assume that, if there is no RPC for mainnet, and the scraper is proceeding on a different chain, that there is no downloadable manifest for that chain, so proceed with a re-build from block zero.
@tjayrush
Copy link
Member Author

tjayrush commented Mar 2, 2025

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

No branches or pull requests

1 participant