-
Notifications
You must be signed in to change notification settings - Fork 957
Add version to the response of beacon API getPendingConsolidations
#8251
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
Add version to the response of beacon API getPendingConsolidations
#8251
Conversation
michaelsproul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind updating the test for this endpoint too? Just to assert something about the returned version. Might need to update the HTTP client code in common/eth2 as well
…8251) Squashed commit of the following: commit 3ef9c9d Author: Tan Chee Keong <[email protected]> Date: Tue Oct 21 11:13:48 2025 +0800 add version
Added a test in 32061c9 It seems that the lighthouse/common/eth2/src/lib.rs Lines 904 to 918 in e5b4983
It's returning |
Open PRs to include for the release - #7907 - #8247 - #8251 - #8253 - #8254 - #8265 - #8269 - #8266 Co-Authored-By: Jimmy Chen <[email protected]> Co-Authored-By: Jimmy Chen <[email protected]>
Issue Addressed
versionin response of Beacon-API methodgetPendingConsolidations#7440Additional Info
Tested to confirm it works:
Before:
{"execution_optimistic":true,"finalized":false,"data":[]}After:
{"version":"electra","execution_optimistic":true,"finalized":false,"data":[]}