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

Made eth-consensus-version required on new blocks endpoints #331

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

rolfyone
Copy link
Collaborator

When initially adding eth-consensus-version to interfaces it wasn't able to be required due to backwards compatibility issues.

Given these interfaces are new, we should set it as a required header. This will simplify the determination of whether we're reading a deneb blockContents or a pre-deneb signed block.

Potentially we deprecate the other interface once deneb comes around, but that's up for discussion, and I'm not putting that into this PR, just making this header required for the new interfaces.

When initially adding eth-consensus-version to interfaces it wasn't able to be required due to backwards compatibility issues.

Given these interfaces are new, we should set it as a required header. This will simplify the determination of whether we're reading a deneb blockContents or a pre-deneb signed block.

Potentially we deprecate the other interface once deneb comes around, but that's up for discussion, and I'm not putting that into this PR, just making this header required for the new interfaces.
@rolfyone rolfyone merged commit d06ae07 into ethereum:master Jul 11, 2023
2 checks passed
@rolfyone rolfyone deleted the make-consensus-version-required branch July 11, 2023 03:24
@Falehfale Falehfale mentioned this pull request Sep 28, 2023
Closed
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.

2 participants