mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-19 11:03:40 +00:00
get data column sidecar cell and proof variant
This commit is contained in:
parent
61033ed99b
commit
e5da0681b3
@ -262,9 +262,9 @@ proc get_data_column_sidecars*(signed_block: deneb.TrustedSignedBeaconBlock |
|
||||
column_cells: DataColumn
|
||||
column_proofs: KzgProofs
|
||||
for i in 0..<cellsAndProofs.len:
|
||||
let check1 = column_cells.add(cellsAndProofs[column_index].cells)
|
||||
let check1 = column_cells.add(cellsAndProofs[i].cells)
|
||||
doAssert check1 == true, "Issue fetching cell from CellsAndProofs"
|
||||
let check2 = column_proofs.add(cellsAndProofs[column_index].proofs)
|
||||
let check2 = column_proofs.add(cellsAndProofs[i].proofs)
|
||||
doAssert check2 == true, "Issue fetching proof from CellsAndProofs"
|
||||
|
||||
var sidecar = DataColumnSidecar(
|
||||
|
Loading…
x
Reference in New Issue
Block a user