@@ -43,17 +43,11 @@ type Service struct {
4343 depositContract deposit.Contract
4444 // eth1FollowDistance is the follow distance for Ethereum 1.0 blocks.
4545 eth1FollowDistance math.U64
46- // failedBlocksMu protects failedBlocks for concurrent access.
47- failedBlocksMu sync.RWMutex
48- // failedBlocks is a map of blocks that failed to be processed
49- // and should be retried.
50- failedBlocks map [math.U64 ]struct {}
5146 // logger is used for logging messages in the service.
5247 logger log.Logger
5348 // chainSpec holds the chain specifications.
5449 chainSpec ServiceChainSpec
5550 // executionEngine is the execution engine responsible for processing
56- //
5751 // execution payloads.
5852 executionEngine ExecutionEngine
5953 // localBuilder is a local builder for constructing new beacon states.
@@ -64,7 +58,6 @@ type Service struct {
6458 metrics * chainMetrics
6559 // forceStartupSyncOnce is used to force a sync of the startup head.
6660 forceStartupSyncOnce * sync.Once
67-
6861 // latestFcuReq holds a copy of the latest FCU sent to the execution layer.
6962 // It helps avoid resending the same FCU data (and spares a network call)
7063 // in case optimistic block building is active
@@ -88,7 +81,6 @@ func NewService(
8881 blobProcessor : blobProcessor ,
8982 depositContract : depositContract ,
9083 eth1FollowDistance : math .U64 (chainSpec .Eth1FollowDistance ()),
91- failedBlocks : make (map [math.Slot ]struct {}),
9284 logger : logger ,
9385 chainSpec : chainSpec ,
9486 executionEngine : executionEngine ,
@@ -105,10 +97,7 @@ func (s *Service) Name() string {
10597}
10698
10799// Start starts the blockchain service.
108- func (s * Service ) Start (ctx context.Context ) error {
109- // Catchup deposits for failed blocks. TODO: remove.
110- go s .depositCatchupFetcher (ctx )
111-
100+ func (s * Service ) Start (context.Context ) error {
112101 return nil
113102}
114103
0 commit comments