Skip to content

fix geth rlpx ping command#5917

Merged
macfarla merged 3 commits intohyperledger:mainfrom
pinges:FixForGethCmdPing
Sep 22, 2023
Merged

fix geth rlpx ping command#5917
macfarla merged 3 commits intohyperledger:mainfrom
pinges:FixForGethCmdPing

Conversation

@pinges
Copy link
Contributor

@pinges pinges commented Sep 21, 2023

PR description

The geth cmd
./build/bin/devp2p rlpx ping enodeAddress
expects the client with address enodeAddress to respond with a HelloMessage right after successfully receiving the handshake message from the initiator.
Existing behaviour in Besu is to wait for the HelloMessage from the initiator before sending the HelloMessage back.

Signed-off-by: Stefan <stefan.pingel@consensys.net>
@github-actions
Copy link

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

Copy link
Contributor

@daniellehrner daniellehrner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. The only thing that need to be reverted is the update of the reference tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the reference tests have been updated by accident.

@pinges pinges marked this pull request as ready for review September 22, 2023 03:38
@macfarla macfarla dismissed daniellehrner’s stale review September 22, 2023 04:54

reference tests submodule version fixed

@macfarla macfarla merged commit 5830936 into hyperledger:main Sep 22, 2023
@pinges pinges deleted the FixForGethCmdPing branch October 1, 2023 11:04
jflo pushed a commit to jflo/besu that referenced this pull request Nov 10, 2023
* fix geth rlpx ping command

Signed-off-by: Stefan <stefan.pingel@consensys.net>

---------

Signed-off-by: Stefan <stefan.pingel@consensys.net>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
NickSneo pushed a commit to NickSneo/besu that referenced this pull request Nov 12, 2023
* fix geth rlpx ping command

Signed-off-by: Stefan <stefan.pingel@consensys.net>

---------

Signed-off-by: Stefan <stefan.pingel@consensys.net>
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.

3 participants