remove column reconstruction while syncing

This commit is contained in:
agnxsh 2024-11-30 19:41:26 +05:30
parent b33ff8a0e3
commit 858844b29e
No known key found for this signature in database
GPG Key ID: F9DCC22B4388C910
1 changed files with 0 additions and 11 deletions

View File

@ -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]):