Skip to content

Commit

Permalink
Fix Validator Participation Evaluator (#12045)
Browse files Browse the repository at this point in the history
* fix bug

* remove proto changes
  • Loading branch information
nisdas authored Feb 24, 2023
1 parent 4058990 commit 383edb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testing/endtoend/evaluators/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ func validatorsParticipating(_ *types.EvaluationContext, conns ...*grpc.ClientCo
if err != nil {
return errors.Wrap(err, "failed to get missing validators")
}
case *eth.BeaconStateContainer_CapellaState:
missSrcVals, missTgtVals, missHeadVals, err = findMissingValidators(obj.CapellaState.PreviousEpochParticipation)
if err != nil {
return errors.Wrap(err, "failed to get missing validators")
}
default:
return fmt.Errorf("unrecognized version: %v", st.Version)
}
Expand Down

0 comments on commit 383edb3

Please sign in to comment.