mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
Fix Flaky Sync Committee Evaluator (#10600)
Co-authored-by: terencechain <terence@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
5315c45453
commit
d0fabd86fb
@ -159,9 +159,12 @@ func validatorsSyncParticipation(conns ...*grpc.ClientConn) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Skip evaluation of the fork slot.
|
switch b.Block().Slot() {
|
||||||
if b.Block().Slot() == forkSlot || b.Block().Slot() == nexForkSlot {
|
case forkSlot, forkSlot + 1, nexForkSlot:
|
||||||
|
// Skip evaluation of the slot.
|
||||||
continue
|
continue
|
||||||
|
default:
|
||||||
|
// no-op
|
||||||
}
|
}
|
||||||
syncAgg, err := b.Block().Body().SyncAggregate()
|
syncAgg, err := b.Block().Body().SyncAggregate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -196,9 +199,12 @@ func validatorsSyncParticipation(conns ...*grpc.ClientConn) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Skip evaluation of the fork slot.
|
switch b.Block().Slot() {
|
||||||
if b.Block().Slot() == forkSlot || b.Block().Slot() == nexForkSlot {
|
case forkSlot, forkSlot + 1, nexForkSlot:
|
||||||
|
// Skip evaluation of the slot.
|
||||||
continue
|
continue
|
||||||
|
default:
|
||||||
|
// no-op
|
||||||
}
|
}
|
||||||
syncAgg, err := b.Block().Body().SyncAggregate()
|
syncAgg, err := b.Block().Body().SyncAggregate()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user