Skip to content

Commit

Permalink
adds beacon supermajority log
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jul 31, 2024
1 parent e1e1bdb commit 08b9a6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions relayer/relays/beacon/header/syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,11 @@ func (s *Syncer) GetFinalizedUpdate() (scale.Update, error) {
if err != nil {
return scale.Update{}, fmt.Errorf("compute sync committee supermajority: %d err: %w", signatureSlot, err)
}
log.WithFields(logrus.Fields{
"superMajority": superMajority,
"signatureSlot": signatureSlot,
"slot": finalizedUpdate.Data.FinalizedHeader.Beacon.Slot,
}).Info("checked finalized update supermajority")
if !superMajority {
return scale.Update{}, ErrSyncCommitteeNotSuperMajority
}
Expand Down

0 comments on commit 08b9a6f

Please sign in to comment.