Skip to content

Fix getClientVersionV1 for Geth 1.13#5884

Merged
mergify[bot] merged 1 commit intosigp:unstablefrom
michaelsproul:geth-client-version-compat
Jun 4, 2024
Merged

Fix getClientVersionV1 for Geth 1.13#5884
mergify[bot] merged 1 commit intosigp:unstablefrom
michaelsproul:geth-client-version-compat

Conversation

@michaelsproul
Copy link
Member

Issue Addressed

Fix an incompatibility with Geth 1.13 which does not follow the spec for engine_getClientVersionV1:

Proposed Changes

If Lighthouse is used with this buggy version of Geth we set the name to "". Lighthouse doesn't use the name for anything at present, so IMO there's no point adding complexity to read the clientName field.

@michaelsproul michaelsproul added ready-for-review The code is ready for review UX-and-logs v5.2.0 Q2 2024 labels Jun 4, 2024
michaelsproul added a commit that referenced this pull request Jun 4, 2024
Squashed commit of the following:

commit 631328d
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Tue Jun 4 11:34:45 2024 +1000

    Fix getClientVersionV1 for Geth 1.13
@michaelsproul michaelsproul mentioned this pull request Jun 4, 2024
Copy link
Member

@jimmygchen jimmygchen left a comment

Choose a reason for hiding this comment

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

LGTM!

@jimmygchen jimmygchen added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jun 4, 2024
@jimmygchen
Copy link
Member

@mergify queue

@mergify
Copy link

mergify bot commented Jun 4, 2024

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at 2c72bb8

mergify bot added a commit that referenced this pull request Jun 4, 2024
@mergify mergify bot merged commit 2c72bb8 into sigp:unstable Jun 4, 2024
@michaelsproul michaelsproul deleted the geth-client-version-compat branch June 4, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge. UX-and-logs v5.2.0 Q2 2024

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants