bug fix in enqueueBlock for data column verification
This commit is contained in:
parent
d860373044
commit
23355dc049
|
@ -218,11 +218,11 @@ proc storeBackfillBlock(
|
||||||
let data_columns = dataColumnsOpt.get()
|
let data_columns = dataColumnsOpt.get()
|
||||||
if data_columns.len > 0:
|
if data_columns.len > 0:
|
||||||
for i in 0..<data_columns.len:
|
for i in 0..<data_columns.len:
|
||||||
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])
|
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i])
|
||||||
if r.isErr():
|
if r.isErr():
|
||||||
debug "backfill data column validation failed",
|
debug "backfill data column validation failed",
|
||||||
blockRoot = shortLog(signedBlock.root),
|
blockRoot = shortLog(signedBlock.root),
|
||||||
column_sidecar = shortLog(data_columns[i]()),
|
column_sidecar = shortLog(data_columns[i]),
|
||||||
blck = shortLog(signedBlock.message),
|
blck = shortLog(signedBlock.message),
|
||||||
signature = shortLog(signedBlock.signature),
|
signature = shortLog(signedBlock.signature),
|
||||||
msg = r.error()
|
msg = r.error()
|
||||||
|
|
Loading…
Reference in New Issue