mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 15:31:20 +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 {
|
||||
return err
|
||||
}
|
||||
// Skip evaluation of the fork slot.
|
||||
if b.Block().Slot() == forkSlot || b.Block().Slot() == nexForkSlot {
|
||||
switch b.Block().Slot() {
|
||||
case forkSlot, forkSlot + 1, nexForkSlot:
|
||||
// Skip evaluation of the slot.
|
||||
continue
|
||||
default:
|
||||
// no-op
|
||||
}
|
||||
syncAgg, err := b.Block().Body().SyncAggregate()
|
||||
if err != nil {
|
||||
@ -196,9 +199,12 @@ func validatorsSyncParticipation(conns ...*grpc.ClientConn) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// Skip evaluation of the fork slot.
|
||||
if b.Block().Slot() == forkSlot || b.Block().Slot() == nexForkSlot {
|
||||
switch b.Block().Slot() {
|
||||
case forkSlot, forkSlot + 1, nexForkSlot:
|
||||
// Skip evaluation of the slot.
|
||||
continue
|
||||
default:
|
||||
// no-op
|
||||
}
|
||||
syncAgg, err := b.Block().Body().SyncAggregate()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user