From b0710806dad0807b98b73637c1261181888ffd66 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Tue, 27 Aug 2024 14:28:38 +0530 Subject: [PATCH] added more logging --- beacon_chain/spec/eip7594_helpers.nim | 12 +++++++----- beacon_chain/validators/message_router.nim | 9 ++------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/beacon_chain/spec/eip7594_helpers.nim b/beacon_chain/spec/eip7594_helpers.nim index 7384aaf0d..c7db8d88d 100644 --- a/beacon_chain/spec/eip7594_helpers.nim +++ b/beacon_chain/spec/eip7594_helpers.nim @@ -254,7 +254,7 @@ proc get_data_column_sidecars*(signed_block: deneb.TrustedSignedBeaconBlock | compute_signed_block_header(signed_block) kzg_incl_proof: array[4, Eth2Digest] - var sidecars: seq[DataColumnSidecar] + var sidecars = newSeq[DataColumnSidecar](CELLS_PER_EXT_BLOB) if cellsAndProofs.len == 0: return ok(sidecars) @@ -264,9 +264,11 @@ proc get_data_column_sidecars*(signed_block: deneb.TrustedSignedBeaconBlock | column_cells: DataColumn column_proofs: KzgProofs for i in 0..