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

Beacon: fix Enr Response #655

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Beacon: fix Enr Response #655

merged 2 commits into from
Oct 23, 2024

Conversation

ScottyPoi
Copy link
Collaborator

Fixes Beacon Network handleFindContent

Beacon Network implementation of handleFindContent did not repond with ENR's when content was not found. Instead it would reply with an empty byte array.

This PR extracts the ENR response code from network.handleFindContent into a separate method enrResponse, and replaces the code within handleFindContent with the new method.

We also fix Beacon by injecting this new method into beacon.handleFindContent

This fixes Beacon-Interop hive tests Find Content - content not found

@ScottyPoi ScottyPoi merged commit c382c96 into master Oct 23, 2024
5 checks passed
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.

1 participant