From 08b9a6f108f57e5a7aa302f7edef30fcbcbe1256 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Wed, 31 Jul 2024 10:36:41 +0200 Subject: [PATCH] adds beacon supermajority log --- relayer/relays/beacon/header/syncer/syncer.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/relayer/relays/beacon/header/syncer/syncer.go b/relayer/relays/beacon/header/syncer/syncer.go index e759f3dd93..02dde9e85d 100644 --- a/relayer/relays/beacon/header/syncer/syncer.go +++ b/relayer/relays/beacon/header/syncer/syncer.go @@ -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 }