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

Remove total from result for portal_historyFindNodes #703

Merged
merged 1 commit into from
May 1, 2023

Conversation

carver
Copy link
Collaborator

@carver carver commented Apr 27, 2023

The total field doesn't match the spec, it is just supposed to return a top-level list of ENRs.

What was wrong?

Fix #702

How was it fixed?

Redefine the FindNodesInfo type to a vector of ENRs.

To-Do

  • Clean up commit history

@carver carver requested review from ogenev and njgheorghita April 27, 2023 23:09
The `total` field doesn't match the spec, it is just supposed to return
a top-level list of ENRs.
@carver carver force-pushed the match-spec-for-find-nodes-rpc branch from fc8b2d2 to 0fabea3 Compare May 1, 2023 16:31
@carver carver changed the title Fix result for portal_historyFindNodes Remove total from result for portal_historyFindNodes May 1, 2023
@carver carver merged commit c8b3afa into ethereum:master May 1, 2023
@carver carver deleted the match-spec-for-find-nodes-rpc branch May 1, 2023 18:26
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.

Return ENRs from portal_historyFindNodes, without a "total" field
3 participants