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

[Merged by Bors] - Ensure validator/blinded_blocks/{slot} endpoint conforms to spec #3429

Closed
wants to merge 1 commit into from

Conversation

macladson
Copy link
Member

Issue Addressed

#3418

Proposed Changes

  • Remove eth/v2/validator/blinded_blocks/{slot} as this endpoint does not exist in the spec.
  • Return version in the eth/v1/validator/blinded_blocks/{slot} endpoint.

Additional Info

Since this removes the v2 endpoint, this is technically a breaking change, but as this does not exist in the spec users may or may not be relying on this.

Depending on what we feel is appropriate, I'm happy to edit this so we keep the v2 endpoint for now but simply bring the v1 endpoint in line with v2.

@macladson macladson added bellatrix Required to support the Bellatrix Upgrade ready-for-review The code is ready for review backwards-incompat Backwards-incompatible API change labels Aug 5, 2022
@macladson macladson changed the title Ensure validator/blinded_block/{slot} endpoint conforms to spec Ensure validator/blinded_blocks/{slot} endpoint conforms to spec Aug 5, 2022
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Bit of a cheeky solution but I like it. Keepin' it simple

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Aug 5, 2022
@macladson
Copy link
Member Author

Bit of a cheeky solution but I like it. Keepin' it simple

I do think we should eventually redesign the way we handle fork versioning in the API, but I think we can wait until more endpoints are affected.

@michaelsproul
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Aug 5, 2022
…3429)

## Issue Addressed

#3418

## Proposed Changes

- Remove `eth/v2/validator/blinded_blocks/{slot}` as this endpoint does not exist in the spec.
- Return `version` in the `eth/v1/validator/blinded_blocks/{slot}` endpoint.

## Additional Info

Since this removes the `v2` endpoint, this is *technically* a breaking change, but as this does not exist in the spec users may or may not be relying on this.

Depending on what we feel is appropriate, I'm happy to edit this so we keep the `v2` endpoint for now but simply bring the `v1` endpoint in line with `v2`.
@bors bors bot changed the title Ensure validator/blinded_blocks/{slot} endpoint conforms to spec [Merged by Bors] - Ensure validator/blinded_blocks/{slot} endpoint conforms to spec Aug 5, 2022
@bors bors bot closed this Aug 5, 2022
@macladson macladson deleted the blinded-version branch August 7, 2022 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change bellatrix Required to support the Bellatrix Upgrade ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants