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

cmd/devp2p/internal/v4test: fix false-positive hive test #23966

Merged
merged 1 commit into from Nov 24, 2021

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Nov 24, 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.


second attempt

@fjl fjl changed the title cmd/devp2p: fix false-positive hive-test cmd/devp2p/internal/v4test: fix false-positive hive test Nov 24, 2021
@fjl fjl added this to the 1.10.14 milestone Nov 24, 2021
@fjl fjl merged commit ad7c90c into ethereum:master Nov 24, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Nov 25, 2021
)

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

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

Without this PR, nethermind fails a hive protocol test, and I misinterpreted the result (NethermindEth/nethermind#3617). Ergo, the output was not fool-proof.
JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
)

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

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

Without this PR, nethermind fails a hive protocol test, and I misinterpreted the result (NethermindEth/nethermind#3617). Ergo, the output was not fool-proof.
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.

None yet

2 participants