mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-18 15:54:13 +00:00
Fix Multiclient E2E Runs (#10660)
This commit is contained in:
parent
c5ddc266ae
commit
e2caaf972f
@ -114,6 +114,12 @@ func validatorsParticipating(conns ...*grpc.ClientConn) error {
|
|||||||
|
|
||||||
partRate := participation.Participation.GlobalParticipationRate
|
partRate := participation.Participation.GlobalParticipationRate
|
||||||
expected := float32(expectedParticipation)
|
expected := float32(expectedParticipation)
|
||||||
|
if participation.Epoch > 0 && participation.Epoch.Sub(1) == helpers.BellatrixE2EForkEpoch {
|
||||||
|
// 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
|
||||||
|
// slot 0.
|
||||||
|
expected = 0.95
|
||||||
|
}
|
||||||
if partRate < expected {
|
if partRate < expected {
|
||||||
st, err := debugClient.GetBeaconStateV2(context.Background(), ð.StateRequestV2{StateId: []byte("head")})
|
st, err := debugClient.GetBeaconStateV2(context.Background(), ð.StateRequestV2{StateId: []byte("head")})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user