-
Notifications
You must be signed in to change notification settings - Fork 1k
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 capella cases for RPC calls #11759
Conversation
@@ -528,7 +528,7 @@ func (bs *Server) GetValidatorParticipation( | |||
if err != nil { | |||
return nil, status.Errorf(codes.Internal, "Could not pre compute attestations: %v", err) | |||
} | |||
case version.Altair, version.Bellatrix: | |||
case version.Altair, version.Bellatrix, version.Capella: |
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 think instead of switch we can just do
if stateversion >= version.Altair
That way we dont have to do this again in the next fork
@@ -693,7 +693,7 @@ func (bs *Server) GetValidatorPerformance( | |||
return nil, err | |||
} | |||
validatorSummary = vp | |||
case version.Altair, version.Bellatrix: | |||
case version.Altair, version.Bellatrix, version.Capella: |
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.
Same here
@@ -865,7 +865,7 @@ func (bs *Server) GetIndividualVotes( | |||
if err != nil { | |||
return nil, status.Errorf(codes.Internal, "Could not pre compute attestations: %v", err) | |||
} | |||
case version.Altair, version.Bellatrix: | |||
case version.Altair, version.Bellatrix, version.Capella: |
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.
And here too
* Add capella cases for rpc calls * Use if else Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Add missing Capella cases for these RPC calls + tests: