fix quarantine
This commit is contained in:
parent
2fb732a9f7
commit
52e8249e82
|
@ -640,14 +640,25 @@ proc storeBlock(
|
||||||
# TODO with v1.4.0, not sure this is still relevant
|
# TODO with v1.4.0, not sure this is still relevant
|
||||||
# Establish blob viability before calling addHeadBlock to avoid
|
# Establish blob viability before calling addHeadBlock to avoid
|
||||||
# writing the block in case of blob error.
|
# writing the block in case of blob error.
|
||||||
# when typeof(signedBlock).kind >= ConsensusFork.Deneb:
|
when typeof(signedBlock).kind >= ConsensusFork.Deneb:
|
||||||
# if dataColumnsOpt.isSome:
|
if dataColumnsOpt.isSome:
|
||||||
# let data_columns = dataColumnsOpt.get()
|
let data_columns = dataColumnsOpt.get()
|
||||||
# let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
|
debugEcho "dc len"
|
||||||
# debugEcho "Hitting verification"
|
debugEcho data_columns.len
|
||||||
# if data_columns.len == 0 or kzgCommits.len == 0:
|
let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
|
||||||
# debugEcho "Hitting verification 2"
|
debugEcho "Hitting verification"
|
||||||
# return err((VerifierError.Invalid, ProcessingStatus.completed))
|
if data_columns.len > 0 and kzgCommits.len > 0:
|
||||||
|
for i in 0..<data_columns.len:
|
||||||
|
debugEcho "Verifying dc kzg proof store block"
|
||||||
|
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])
|
||||||
|
if r.isErr():
|
||||||
|
debug "backfill data column validation failed",
|
||||||
|
blockRoot = shortLog(signedBlock.root),
|
||||||
|
column_sidecar = shortLog(data_columns[i][]),
|
||||||
|
blck = shortLog(signedBlock.message),
|
||||||
|
signature = shortLog(signedBlock.signature),
|
||||||
|
msg = r.error()
|
||||||
|
return err((VerifierError.Invalid, ProcessingStatus.completed))
|
||||||
|
|
||||||
type Trusted = typeof signedBlock.asTrusted()
|
type Trusted = typeof signedBlock.asTrusted()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue