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

Deprecate BeaconBlocksByRange.step #5565

Closed
ajsutton opened this issue May 24, 2022 · 0 comments · Fixed by #5580
Closed

Deprecate BeaconBlocksByRange.step #5565

ajsutton opened this issue May 24, 2022 · 0 comments · Fixed by #5580
Assignees

Comments

@ajsutton
Copy link
Contributor

Description

Change our implementation of BeaconBlocksByRange to match the new deprecated implementation (only returns the first block).

Adjust any places we use a step > 1. I think this is just in CommonAncestorFinder.

See ethereum/consensus-specs#2856

@rolfyone rolfyone self-assigned this May 25, 2022
rolfyone added a commit to rolfyone/teku that referenced this issue May 25, 2022
In line with 1.20 spec, the 'step' of blocksByRange must now always be 1.

Need to evaluate that we can still accept a request with a step other than 1, and make it return the first block we find in that range

fixes Consensys#5565

Signed-off-by: Paul Harris <[email protected]>
rolfyone added a commit that referenced this issue May 26, 2022
* update blocks by range to not skip blocks.

In line with 1.20 spec, the 'step' of blocksByRange must now always be 1.

Need to evaluate that we can still accept a request with a step other than 1, and make it return the first block we find in that range

fixes #5565

Signed-off-by: Paul Harris <[email protected]>
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 a pull request may close this issue.

2 participants