This commit is contained in:
Agnish Ghosh 2024-10-02 19:54:17 +05:30
parent bc780a003f
commit 190a1dd1c4
2 changed files with 2 additions and 0 deletions

View File

@ -644,6 +644,7 @@ proc storeBlock(
if dataColumnsOpt.isSome:
let data_columns = dataColumnsOpt.get()
let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
debugEcho "Hitting verification"
if data_columns.len > 0 and kzgCommits.len > 0:
for i in 0..<data_columns.len:
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])

View File

@ -209,6 +209,7 @@ proc routeSignedBeaconBlock*(
final_columns.add(dc)
dataColumnRefs = Opt.some(final_columns.mapIt(newClone(it)))
let added = await router[].blockProcessor[].addBlock(
MsgSource.api, ForkedSignedBeaconBlock.init(blck), blobRefs, dataColumnRefs)