@@ -1154,10 +1154,6 @@ func TestVerifyForcedInclusionTxs_P2PBlocks(t *testing.T) {
11541154 s .fiRetriever = da .NewForcedInclusionRetriever (client , zerolog .Nop (), cfg , gen .DAStartHeight , gen .DAEpochForcedInclusion )
11551155 t .Cleanup (func () { s .fiRetriever .Stop () })
11561156
1157- // Mock async DA retriever to avoid dealing with actual DA fetching in test
1158- mockDARetriever := NewMockDARetriever (t )
1159- s .daRetrievalWorkerPool = NewDARetrievalWorkerPool (mockDARetriever , s .heightInCh , zerolog .Nop ())
1160-
11611157 // Mock DA to return forced inclusion transactions at epoch 0
11621158 forcedTxData , _ := makeSignedDataBytes (t , gen .ChainID , 10 , addr , pub , signer , 2 )
11631159 client .On ("Retrieve" , mock .Anything , uint64 (0 ), []byte ("nsForcedInclusion" )).Return (datypes.ResultRetrieve {
@@ -1255,11 +1251,6 @@ func TestVerifyForcedInclusionTxs_P2PBlocks(t *testing.T) {
12551251 s .fiRetriever = da .NewForcedInclusionRetriever (client , zerolog .Nop (), cfg , gen .DAStartHeight , gen .DAEpochForcedInclusion )
12561252 t .Cleanup (func () { s .fiRetriever .Stop () })
12571253
1258- // Mock async DA retriever to avoid dealing with actual DA fetching in test
1259- mockDARetriever := NewMockDARetriever (t )
1260- s .daRetrievalWorkerPool = NewDARetrievalWorkerPool (mockDARetriever , s .heightInCh , zerolog .Nop ())
1261- // Don't start it to avoid async complications
1262-
12631254 // Process first block successfully (within grace period)
12641255 // Mock DA to return forced inclusion transactions at epoch 0
12651256 forcedTxData , _ := makeSignedDataBytes (t , gen .ChainID , 10 , addr , pub , signer , 2 )
0 commit comments