change get data column sidecar logic in proposer to alpha 4
This commit is contained in:
parent
4730a4b246
commit
e9c7a758a0
|
@ -172,8 +172,10 @@ proc routeSignedBeaconBlock*(
|
||||||
debugEcho blobs.len
|
debugEcho blobs.len
|
||||||
debugEcho blobs.len
|
debugEcho blobs.len
|
||||||
if blobs.len != 0:
|
if blobs.len != 0:
|
||||||
|
let cells_and_proofs = computeCellsAndProofs(blobs.mapIt(KzgBlob(bytes: it.blob)))
|
||||||
let dataColumnsOpt = newClone get_data_column_sidecars(blck, blobs.mapIt(KzgBlob(bytes: it.blob)))
|
if not cells_and_proofs.isOk:
|
||||||
|
debug "Issue computing cells and proofs from blob payload"
|
||||||
|
let dataColumnsOpt = newClone get_data_column_sidecars(blck, cells_and_proofs)
|
||||||
if not dataColumnsOpt[].isOk:
|
if not dataColumnsOpt[].isOk:
|
||||||
debug "Issue with computing data column from blob bundle"
|
debug "Issue with computing data column from blob bundle"
|
||||||
let data_columns = dataColumnsOpt[].get()
|
let data_columns = dataColumnsOpt[].get()
|
||||||
|
|
Loading…
Reference in New Issue