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_cells: DataColumn
|
||||||
column_proofs: KzgProofs
|
column_proofs: KzgProofs
|
||||||
for i in 0..<cellsAndProofs.len:
|
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"
|
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"
|
doAssert check2 == true, "Issue fetching proof from CellsAndProofs"
|
||||||
|
|
||||||
var sidecar = DataColumnSidecar(
|
var sidecar = DataColumnSidecar(
|
||||||
|
|
Loading…
Reference in New Issue