From 858844b29e259338b1b436c75f0334df142c6d98 Mon Sep 17 00:00:00 2001 From: agnxsh Date: Sat, 30 Nov 2024 19:41:26 +0530 Subject: [PATCH] remove column reconstruction while syncing --- beacon_chain/sync/sync_manager.nim | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/beacon_chain/sync/sync_manager.nim b/beacon_chain/sync/sync_manager.nim index 8b4901654..4accd2cce 100644 --- a/beacon_chain/sync/sync_manager.nim +++ b/beacon_chain/sync/sync_manager.nim @@ -342,17 +342,6 @@ proc getDataColumnSidecars[A, B](man: SyncManager[A, B], peer: A, debug "Requesting data column sidecars from peer", request = req dataColumnSidecarsByRange(peer, req.slot, req.count, localCustodyColumns) -proc reconstructWhileColumnSync*(blck: deneb.SignedBeaconBlock | - electra.SignedBeaconBlock, - columns: seq[ref DataColumnSidecar]): - seq[ref DataColumnSidecar] = - let - recovered_cps = recover_cells_and_proofs(columns.mapIt(it[])) - recovered_cols = get_data_column_sidecars(blck, recovered_cps.get) - refSeq = recovered_cols.mapIt(newClone it) - - refSeq - proc groupDataColumns*[T](req: SyncRequest[T], blocks: seq[ref ForkedSignedBeaconBlock], data_columns: seq[ref DataColumnSidecar]):