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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

future sync committee membership API returns invalid state id error #9940

Closed
kevinwucodes opened this issue Nov 24, 2021 · 2 comments 路 Fixed by #9945
Closed

future sync committee membership API returns invalid state id error #9940

kevinwucodes opened this issue Nov 24, 2021 · 2 comments 路 Fixed by #9945
Assignees
Labels
API Api related tasks Bug Something isn't working

Comments

@kevinwucodes
Copy link

馃悶 Bug Report

Description

When trying to obtain the next membership set of sync committees, Prysm is unable to provide that membership. Teku, however, is able to provide the next sync committee membership. I'm not sure if Prysm or Teku is out of spec.

Has this worked before in a previous version?

No, obtaining future sync committee membership does not seem to have ever worked in Prysm.

馃敩 Minimal Reproduction

Let's suppose the current epoch is 80621. The next sync committee epoch would be 80621 + 256 = 80877.

curl 'http://192.168.0.1:3500/eth/v1/beacon/states/finalized/sync_committees?epoch=80877'

When calling this, I get the Prysm error below:

馃敟 Error

{"message":"Could not fetch beacon state using request: rpc error: code = Internal desc = Invalid state ID: slot cannot be in the future","code":500}

This error does not occur when using Teku. Teku returns the next sync committees membership.

馃實 Your Environment

Operating System:

  • Ubuntu Server 20.04.3 LTS (Focal Fossa)

What version of Prysm are you running? (Which release)

  • v2.0.3

Anything else relevant (validator index / public key)?

  • None.
@kevinwucodes kevinwucodes changed the title future sync committee membership API returns future sync committee membership API returns invalid state id error Nov 24, 2021
@mrabino1
Copy link
Contributor

related ..

021-11-24 18:28:40,840 Incremented Retry for (url='/eth/v1/beacon/states/2458798/validator_balances'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
2021-11-24 18:28:40,841 Retry: /eth/v1/beacon/states/2458798/validator_balances

Exception: Error while fetching data from beacon node: {"message":"could not proxy request: Get "http://127.0.0.1:3500/internal/eth/v1/beacon/states/MjQwODM5OA==/validator_balances/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","code":500}

@potuz
Copy link
Contributor

potuz commented Nov 25, 2021

related ..

021-11-24 18:28:40,840 Incremented Retry for (url='/eth/v1/beacon/states/2458798/validator_balances'): Retry(total=4, connect=None, read=None, redirect=None, status=None) 2021-11-24 18:28:40,841 Retry: /eth/v1/beacon/states/2458798/validator_balances

Exception: Error while fetching data from ...

This is not related to the issue. If it's happening consistently perhaps you should open a different one

@rkapka rkapka self-assigned this Nov 25, 2021
@rkapka rkapka added API Api related tasks Bug Something isn't working labels Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants