From 52e8249e825b86e5d81e4482b06470b3f3243f9d Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Thu, 3 Oct 2024 01:39:18 +0530 Subject: [PATCH] fix quarantine --- .../gossip_processing/block_processor.nim | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/beacon_chain/gossip_processing/block_processor.nim b/beacon_chain/gossip_processing/block_processor.nim index 72e02fee8..b49a21a80 100644 --- a/beacon_chain/gossip_processing/block_processor.nim +++ b/beacon_chain/gossip_processing/block_processor.nim @@ -640,14 +640,25 @@ proc storeBlock( # TODO with v1.4.0, not sure this is still relevant # Establish blob viability before calling addHeadBlock to avoid # writing the block in case of blob error. - # when typeof(signedBlock).kind >= ConsensusFork.Deneb: - # if dataColumnsOpt.isSome: - # let data_columns = dataColumnsOpt.get() - # let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq - # debugEcho "Hitting verification" - # if data_columns.len == 0 or kzgCommits.len == 0: - # debugEcho "Hitting verification 2" - # return err((VerifierError.Invalid, ProcessingStatus.completed)) + when typeof(signedBlock).kind >= ConsensusFork.Deneb: + if dataColumnsOpt.isSome: + let data_columns = dataColumnsOpt.get() + debugEcho "dc len" + debugEcho data_columns.len + let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq + debugEcho "Hitting verification" + if data_columns.len > 0 and kzgCommits.len > 0: + for i in 0..