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

Cleanup old endpoints that have been deprecated #218

Merged
merged 2 commits into from
May 23, 2022

Conversation

rolfyone
Copy link
Collaborator

  • v1/debug/states has been deprecated for a long time now, as has the v1/blocks endpoint.

  • v1/debug/heads seems to be a new deprecation so leaving that in the spec. I'm not sure why v2 exists, it looks like the execution_optimistic should have just been optional so that it was non breaking, but that horse hs bolted.

 - v1/debug/states has been deprecated for a long time now, as has the v1/blocks endpoint.

 - v1/debug/heads seems to be a new deprecation so leaving that in the spec. I'm not sure why v2 exists, it looks like the execution_optimistic should have just been optional so that it was non breaking, but that horse hs bolted.
@mpetrunic mpetrunic merged commit f052754 into ethereum:master May 23, 2022
@rolfyone rolfyone deleted the remove-v1-blocks branch May 23, 2022 21:26
Comment on lines -81 to -82
/eth/v1/beacon/blocks:
$ref: "./apis/beacon/blocks/blocks.yaml"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should have been deleted. This API endpoint isn't deprecated and is the only way for validator clients to publish their non-blinded blocks to the beacon node

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hrm i may have deleted the wrong thing? will check now...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're correct, raising a pr to put back

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

rolfyone added a commit to rolfyone/beacon-APIs that referenced this pull request Sep 13, 2022
Mistakenly removed in ethereum#218, this PR puts back the /eth/v1/beacon/blocks POST.
mpetrunic pushed a commit that referenced this pull request Sep 13, 2022
* Added POST /eth/v1/beacon/blocks back in place

Mistakenly removed in #218, this PR puts back the /eth/v1/beacon/blocks POST.

* Update beacon-node-oapi.yaml

Co-authored-by: Michael Sproul <[email protected]>

Co-authored-by: Michael Sproul <[email protected]>
arnetheduck added a commit to status-im/nimbus-eth2 that referenced this pull request Sep 28, 2022
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

Successfully merging this pull request may close these issues.

3 participants