change checkpoints

This commit is contained in:
Agnish Ghosh 2024-07-07 05:02:58 +05:30
parent 7a891f13d6
commit 0bffdd0dca
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 3 additions and 3 deletions

View File

@ -232,15 +232,15 @@ proc get_data_column_sidecars*(signed_block: deneb.SignedBeaconBlock |
signed_beacon_block_header = compute_signed_block_header(signed_block) signed_beacon_block_header = compute_signed_block_header(signed_block)
kzg_incl_proof: array[4, Eth2Digest] kzg_incl_proof: array[4, Eth2Digest]
var sidecars = newSeqOfCap[DataColumnSidecar](CELLS_PER_EXT_BLOB) var sidecars = newSeq[DataColumnSidecar](CELLS_PER_EXT_BLOB)
if blobs.len == 0: if blobs.len == 0:
debugEcho "Checkpoint 3" debugEcho "Checkpoint 3"
return ok(sidecars) return ok(sidecars)
var var
cells = newSeqOfCap[CellBytes](blobs.len) cells = newSeq[CellBytes](blobs.len)
proofs = newSeqOfCap[ProofBytes](blobs.len) proofs = newSeq[ProofBytes](blobs.len)
debugEcho "Cells len" debugEcho "Cells len"
debugEcho cells.len debugEcho cells.len