Skip to content

Commit

Permalink
fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh committed Feb 14, 2025
1 parent a264e13 commit 03e11ee
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions beacon_chain/gossip_processing/eth2_processor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
{.push raises: [].}

import
std/tables,
std/[tables, sequtils],
chronicles, chronos, metrics,
taskpools,
ssz_serialization/types,
../spec/[helpers, forks],
../el/el_manager,
../consensus_object_pools/[
Expand Down Expand Up @@ -292,14 +293,11 @@ proc processBlobSidecar*(
# check lengths of array[BlobAndProofV1] with blobs
# kzg commitments of the signed block
if blobsEl.len == forkyBlck.message.body.blob_kzg_commitments.len:
var
kzgblbs: deneb.Blobs
kzgprfs: deneb.KzgProofs
for idx in 0..<blobsEl.len:
kzgblbs[idx] = blobsEl[idx].blob.data
kzgprfs[idx].bytes = blobsEl[idx].proof.data
let blob_sidecars_el =
create_blob_sidecars(forkyBlck, kzgprfs, kzgblbs)
create_blob_sidecars(
forkyBlck,
deneb.KzgProofs.init(blobsEl.mapIt(kzg.KzgProof(bytes: it.proof.data))),
deneb.Blobs.init(blobsEl.mapIt(it.blob.data)))

for blb_el in blob_sidecars_el:
self.blobQuarantine[].put(newClone blb_el)
Expand Down

0 comments on commit 03e11ee

Please sign in to comment.