Skip to content

Commit 55a9f7d

Browse files
committed
Revert "fix: persist DA included height in syncer for full nodes"
This reverts commit 3c0a15c.
1 parent 4ad19ee commit 55a9f7d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

block/internal/syncing/syncer.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -464,13 +464,6 @@ func (s *Syncer) processHeightEvent(event *common.DAHeightEvent) {
464464

465465
// only save to p2p stores if the event came from DA
466466
if event.Source == common.SourceDA {
467-
// Persist DA included height for full nodes syncing from DA
468-
bz := make([]byte, 8)
469-
binary.LittleEndian.PutUint64(bz, height)
470-
if err := s.store.SetMetadata(s.ctx, store.DAIncludedHeightKey, bz); err != nil {
471-
s.logger.Error().Err(err).Uint64("height", height).Msg("failed to persist DA included height")
472-
}
473-
474467
g, ctx := errgroup.WithContext(s.ctx)
475468
g.Go(func() error {
476469
// broadcast header locally only — prevents spamming the p2p network with old height notifications,

0 commit comments

Comments
 (0)