fix: get_data_column_sidecars

This commit is contained in:
Agnish Ghosh 2024-07-03 23:45:20 +05:30
parent 887a44a82f
commit 706373909f
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ proc get_data_column_sidecars*(signed_block: deneb.SignedBeaconBlock | electra.S
blck.body.build_proof(
27.GeneralizedIndex,
kzg_incl_proof).expect("Valid gindex")
kzg_incl_proof)
for blob in blobs:
let
@ -237,7 +237,7 @@ proc get_data_column_sidecars*(signed_block: deneb.SignedBeaconBlock | electra.S
kzgProofOfColumn[rowIndex] = proofs[rowIndex][columnIndex]
sidecar = DataColumnSidecar(
index: uint64(columnIndex),
index: ColumnIndex(columnIndex),
column: column,
kzgCommitments: blck.body.blob_kzg_commitments,
kzgProofs: kzgProofOfColumn,