@@ -476,20 +476,6 @@ func (s *Syncer) subscribeAndFollow() error {
476476 }
477477 }
478478
479- // Subscribe to forced inclusion namespace if configured
480- var forcedInclusionCh <- chan * blobrpc.SubscriptionResponse
481- if s .daClient .HasForcedInclusionNamespace () {
482- fiNS := s .daClient .GetForcedInclusionNamespace ()
483- // Only subscribe if it's different from both header and data namespaces
484- if ! bytes .Equal (fiNS , headerNS ) && ! bytes .Equal (fiNS , dataNS ) {
485- forcedInclusionCh , err = s .daClient .Subscribe (subCtx , fiNS )
486- if err != nil {
487- return fmt .Errorf ("failed to subscribe to forced inclusion namespace: %w" , err )
488- }
489- s .logger .Info ().Msg ("subscribed to forced inclusion namespace for follow mode" )
490- }
491- }
492-
493479 s .logger .Info ().Msg ("subscribed to DA namespaces for follow mode" )
494480
495481 // Calculate watchdog timeout
@@ -522,16 +508,6 @@ func (s *Syncer) subscribeAndFollow() error {
522508 s .logger .Error ().Err (err ).Uint64 ("height" , resp .Height ).Msg ("failed to process data subscription" )
523509 }
524510
525- case resp , ok := <- forcedInclusionCh :
526- // Note: if forcedInclusionCh is nil (not configured), this case never fires
527- if ! ok {
528- return errors .New ("forced inclusion subscription closed" )
529- }
530- // Cache forced inclusion blobs for epoch retrieval.
531- if s .fiRetriever != nil {
532- s .fiRetriever .HandleSubscriptionResponse (resp )
533- }
534-
535511 case <- time .After (watchdogTimeout ):
536512 // Watchdog: if no events for watchdogTimeout, recheck mode
537513 // Might have fallen behind due to network issues
0 commit comments