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

Fix Batch Requesting Of Headers #11982

Merged
merged 3 commits into from
Feb 11, 2023
Merged

Fix Batch Requesting Of Headers #11982

merged 3 commits into from
Feb 11, 2023

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Feb 11, 2023

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

Nethermind in their v1.16.x version introduced stricter limiting of json-rpc requests and this led to issues with prysm as detailed here: NethermindEth/nethermind#5208

Upon further investigation it was revealed that nethermind had the same header request limit as prysm and despite that, the above error was still being encountered. After some debugging, it was determined that prysm had an off-by-1 in the batch header requesting logic. This PR corrects that bug.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas added Ready For Review A pull request ready for code review OK to merge labels Feb 11, 2023
@nisdas nisdas requested a review from a team as a code owner February 11, 2023 01:13
@prylabs-bulldozer prylabs-bulldozer bot merged commit 63186c8 into develop Feb 11, 2023
@delete-merged-branch delete-merged-branch bot deleted the fixBug branch February 11, 2023 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants