From 829234104822a5b0d4bcf8c0f7e2160f0a801bfc Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Sat, 29 Jun 2024 18:54:08 +0530 Subject: [PATCH] fix: block_processor test --- tests/test_block_processor.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_block_processor.nim b/tests/test_block_processor.nim index c4123796d..1e529edbb 100644 --- a/tests/test_block_processor.nim +++ b/tests/test_block_processor.nim @@ -20,7 +20,7 @@ import ../beacon_chain/gossip_processing/block_processor, ../beacon_chain/consensus_object_pools/[ attestation_pool, blockchain_dag, blob_quarantine, block_quarantine, - block_clearance, consensus_manager], + data_column_quarantine, block_clearance, consensus_manager], ../beacon_chain/el/el_manager, ./testutil, ./testdbutil, ./testblockutil @@ -44,6 +44,7 @@ suite "Block processor" & preset(): taskpool = Taskpool.new() quarantine = newClone(Quarantine.init()) blobQuarantine = newClone(BlobQuarantine()) + dataColumnQuarantine = newClone(DataColumnQuarantine()) attestationPool = newClone(AttestationPool.init(dag, quarantine)) elManager = new ELManager # TODO: initialise this properly actionTracker: ActionTracker @@ -58,7 +59,7 @@ suite "Block processor" & preset(): getTimeFn = proc(): BeaconTime = b2.message.slot.start_beacon_time() processor = BlockProcessor.new( false, "", "", rng, taskpool, consensusManager, - validatorMonitor, blobQuarantine, getTimeFn) + validatorMonitor, blobQuarantine, dataColumnQuarantine, getTimeFn) processorFut = processor.runQueueProcessingLoop() asyncTest "Reverse order block add & get" & preset():