From 5bcc599b66db316ca7e313332861e8672c60f5ce Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Wed, 2 Oct 2024 23:22:40 +0530 Subject: [PATCH] fix 2 --- .../gossip_processing/block_processor.nim | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/beacon_chain/gossip_processing/block_processor.nim b/beacon_chain/gossip_processing/block_processor.nim index b599210d3..72e02fee8 100644 --- a/beacon_chain/gossip_processing/block_processor.nim +++ b/beacon_chain/gossip_processing/block_processor.nim @@ -640,14 +640,14 @@ 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() + # 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)) type Trusted = typeof signedBlock.asTrusted()