• Martin Holst Swende's avatar
    cmd/devp2p/internal/v4test: fix false-positive hive test (#23966) · ad7c90c1
    Martin Holst Swende authored
    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.
    ad7c90c1
discv4tests.go 14.4 KB