-
Notifications
You must be signed in to change notification settings - Fork 169
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
[Clarification] Skipped slots in /eth/v1/beacon/blocks/{block_id} endpoint #126
Comments
For the record Teku will return a 404 in this case. Might be too invasive to change now but I'd have gone with something like No Content which confirms we understood the request, found the slot you were asking about but didn't have any block there. |
Agreed. Something else that's worth distinguishing between is:
Agree for both points. |
A more general comment, but does it make sense to start a v2 version of the API that contains enhancements such as those suggested above, as well as the alterations required for HF1? The structural items such as this can be handled now, and those that are dependent on the structures and processes in HF1 follow on afterwards. Main reason is that I'd hate for solutions like the above to be unimplemented, but it appears to be generally felt that v1 is now final so cannot accommodate such enhancements. |
Adding proper response message and error code to 404 response to indicate whether it's a skip slot or simply node doesn't have it would be more appropriate? |
As per @ajsutton , I think
(*) Edit: |
This is older, so in current context it sounds like what we want is:
and
QUESTIONS:
|
Should skipped slots return a 404 in the
/eth/v1/beacon/blocks/{block_id}
endpoint? In Lighthouse we return information about the most recent non-skipped slot presently. I don't see it explicitly in the spec.Relevant lighthouse issue: sigp/lighthouse#2186
The text was updated successfully, but these errors were encountered: