Ensure GET v2/validator/aggregate_attestation is backwards compatible#6984
Merged
mergify[bot] merged 5 commits intoFeb 12, 2025
Merged
Conversation
8ea91af to
a57f64c
Compare
pawanjay176
reviewed
Feb 11, 2025
pawanjay176
left a comment
Member
There was a problem hiding this comment.
This looks good to me.
I tested it by using v2 for both deneb and electra by modifying the lighthouse VC here
lighthouse/validator_client/validator_services/src/attestation_service.rs
Lines 564 to 575 in 431dd7c
It works as expected. Wondering if we v2 all across.
pawanjay176
reviewed
Feb 11, 2025
michaelsproul
approved these changes
Feb 11, 2025
Member
I think at this late stage I'm fine with sticking to v1 prior to Electra. We could consider changing this for v7.0.0 proper though |
Member
|
@mergify queue |
✅ The pull request has been merged automaticallyDetailsThe pull request has been merged automatically at ed8086c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue Addressed
Closes #6983
Proposed Changes
GET v2/validator/aggregate_attestationis not backwards compatible. It only works for post electra attestations. This PR adds backwards compatibility and additional test coverage. We should include this in the upcoming 7.0 beta release if possible