Skip to content

cmd/devp2p: fix false-positive hive-test #23962

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

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Nov 23, 2021

This PR fixes two problems in devp2p tests (and through them, hive).

  1. Make the output more detailed about what is returned (always print packet kind).
  2. Allow Ping response to unsolicited findnode.

Without this PR, nethermind fails a hive protocol tests, and I misinterpreted the result (NethermindEth/nethermind#3617). Ergo, the output was not fool-proof.

@fjl fjl merged commit 25191bb into ethereum:master Nov 24, 2021
@fjl fjl added this to the 1.10.13 milestone Nov 24, 2021
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