From b9a3aa827794ec720a9d997147a147261b4be78d Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Tue, 27 Aug 2024 02:51:58 +0530 Subject: [PATCH] logging in block processor --- .../gossip_processing/block_processor.nim | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/beacon_chain/gossip_processing/block_processor.nim b/beacon_chain/gossip_processing/block_processor.nim index 5f8fc0aa1..fddee58e6 100644 --- a/beacon_chain/gossip_processing/block_processor.nim +++ b/beacon_chain/gossip_processing/block_processor.nim @@ -636,7 +636,7 @@ 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: + when typeof(signedBlock).kind >= ConsensusFork.Deneb: # # if blobsOpt.isSome: # # let blobs = blobsOpt.get() # # let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq @@ -653,23 +653,23 @@ proc storeBlock( # # msg = r.error() # # return err((VerifierError.Invalid, ProcessingStatus.completed)) - # if dataColumnsOpt.isSome: - # let data_column_sidecars = dataColumnsOpt.get - # if data_column_sidecars.len > 0: - # for i in 0.. 0: + for i in 0..