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

Error: exceed maximum block range: 50000 #63

Open
jamesnguyentech opened this issue May 22, 2024 · 3 comments
Open

Error: exceed maximum block range: 50000 #63

jamesnguyentech opened this issue May 22, 2024 · 3 comments

Comments

@jamesnguyentech
Copy link

Issue Summary

When trying to run the aggregator on the testnet (holesky), I encountered the following error:

Fatal error opening websocket subscription for new pubkey registrations {"err":"exceed maximum block range: 50000","service":"OperatorPubkeysServiceInMemory"}
Stacktrace
    github.com/Layr-Labs/eigensdk-go/logging.(*ZapLogger).Error
        /Users/jamesnguyen/go/pkg/mod/github.com/!layr-!labs/eigensdk-go@v0.1.1-0.20240207213853-8a666597e0f1/logging/zap_logger.go:57
    github.com/Layr-Labs/eigensdk-go/services/operatorpubkeys.(*OperatorPubkeysServiceInMemory).startServiceInGoroutine.func1
        /Users/jamesnguyen/go/pkg/mod/github.com/!layr-!labs/eigensdk-go@v0.1.1-0.20240207213853-8a666597e0f1/services/operatorpubkeys/operatorpubkeys_inmemory.go:79
panic: exceed maximum block range: 50000

How can I resolve the "exceed maximum block range: 50000" error when running the example on the testnet (holesky)?

@samlaf
Copy link
Collaborator

samlaf commented May 26, 2024

This means your ethereum node only accepts log query with max 50k block ranges. I believe right now inc sq doesn’t put any bounds on the queries. There’s an update in the eigensdk to allow querying with time ranges so we’ll have to update to latest eigensdk version and for loop over 50k block ranges.

@jamesnguyentech
Copy link
Author

If possible, could you guide me on how to update it? I will update it and create a PR, as I also want to understand more deeply and contribute to EigenLayer.

@samlaf samlaf reopened this Jun 30, 2024
@samlaf
Copy link
Collaborator

samlaf commented Jun 30, 2024

@Gajesh2007 dont close issues without answering the OP’s question or at least explaining why the issue is now fixed.

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

3 participants