diff --git a/packages/taiko-client/driver/chain_syncer/beaconsync/syncer.go b/packages/taiko-client/driver/chain_syncer/beaconsync/syncer.go index 0860dc9d46e..8b13f31c343 100644 --- a/packages/taiko-client/driver/chain_syncer/beaconsync/syncer.go +++ b/packages/taiko-client/driver/chain_syncer/beaconsync/syncer.go @@ -84,6 +84,9 @@ func (s *Syncer) TriggerBeaconSync(blockID uint64) error { // Update sync status. s.progressTracker.UpdateMeta(new(big.Int).SetUint64(blockID), headPayload.BlockHash) + // Mark the beacon sync progress as finished. + s.progressTracker.MarkFinished() + log.Info( "⛓️ Beacon sync triggered", "newHeadID", blockID, diff --git a/packages/taiko-client/driver/chain_syncer/chain_syncer.go b/packages/taiko-client/driver/chain_syncer/chain_syncer.go index 5402b5766f6..c04c7e22ed9 100644 --- a/packages/taiko-client/driver/chain_syncer/chain_syncer.go +++ b/packages/taiko-client/driver/chain_syncer/chain_syncer.go @@ -108,9 +108,6 @@ func (s *L2ChainSyncer) Sync() error { "p2pOutOfSync", s.progressTracker.OutOfSync(), ) - // Mark the beacon sync progress as finished. - s.progressTracker.MarkFinished() - // Get the execution engine's chain head. l2Head, err := s.rpc.L2.HeaderByNumber(s.ctx, nil) if err != nil {