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

finality_checkpoints endpoint does not return result #4415

Closed
dadepo opened this issue Aug 15, 2022 · 2 comments
Closed

finality_checkpoints endpoint does not return result #4415

dadepo opened this issue Aug 15, 2022 · 2 comments

Comments

@dadepo
Copy link
Contributor

dadepo commented Aug 15, 2022

Describe the bug

Requesting the eth/v1/beacon/states/state_id/finality_checkpoints endpoint on https://lodestar-prater.chainsafe.io returns 404. But requesting same on infura's beacon node returns a result.

On Infura:

➜  ~ curl -X GET https://<u>:<p>@eth2-beacon-prater.infura.io/eth/v1/beacon/states/0xd4002260adc896738a6306f87a525da091f54f4b729cd80571493bc8c7b82f84/finality_checkpoints
{"execution_optimistic":false,"data":{"previous_justified":{"epoch":"114763","root":"0x0667e6ee957a41c0a6c238056f98065b6115be5e4a69d3f94df03ae62f67f666"},"current_justified":{"epoch":"114764","root":"0x5386273280d3ef529673466661e4c9ce7d4d5ea1f88dfb896398be9209ff9a67"},"finalized":{"epoch":"114763","root":"0x0667e6ee957a41c0a6c238056f98065b6115be5e4a69d3f94df03ae62f67f666"}}}%

On Lodestar prater:

➜  ~ curl -X GET https://lodestar-prater.chainsafe.io/eth/v1/beacon/states/0xd4002260adc896738a6306f87a525da091f54f4b729cd80571493bc8c7b82f84/finality_checkpoints
{"statusCode":404,"error":"Not Found","message":"No state found for id '0xd4002260adc896738a6306f87a525da091f54f4b729cd80571493bc8c7b82f84'"}%

Making the request for a more recent slot (3672832) gives the same response.

Expected behavior

eth/v1/beacon/states/state_id/finality_checkpoints endpoing on lodestar beacon node should return results

@dapplion
Copy link
Contributor

Lodestar does not support arbitrary state regen previous to the finalized checkpoint. Infura does. The slot you are requesting was before or after the finalized slot at the time?

@dapplion
Copy link
Contributor

Closing issues for specific incidents on old versions of Lodestar, please re-open if it happens with latest stable

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

2 participants