Skip to content

Commit

Permalink
adding in special condition to pass electra epoch participation
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prysm committed Jan 29, 2025
1 parent 316ef07 commit 8a997e7
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 @@ -126,6 +126,11 @@ func validatorsParticipating(_ *types.EvaluationContext, conns ...*grpc.ClientCo
if e2eparams.TestParams.LighthouseBeaconNodeCount != 0 {
expected = float32(expectedMulticlientParticipation)
}
if participation.Epoch == params.BeaconConfig().ElectraForkEpoch {
// The first slot of Electra will be missed due to the switching of attestation types
// 5/6 slots =~0.83
expected = 0.83
}
if participation.Epoch > 0 && participation.Epoch.Sub(1) == params.BeaconConfig().BellatrixForkEpoch {
// Reduce Participation requirement to 95% to account for longer EE calls for
// the merge block. Target and head will likely be missed for a few validators at
Expand Down

0 comments on commit 8a997e7

Please sign in to comment.