added more logging

This commit is contained in:
Agnish Ghosh 2024-10-02 17:24:16 +05:30
parent d71edad9c0
commit b9d8699c52
2 changed files with 3 additions and 0 deletions

View File

@ -219,6 +219,7 @@ proc storeBackfillBlock(
let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
if data_columns.len > 0 and kzgCommits.len > 0:
for i in 0..<data_columns.len:
debugEcho "Verifying dc kzg proof"
let r = verify_data_column_sidecar_kzg_proofs(data_columns[i][])
if r.isErr():
debug "backfill data column validation failed",

View File

@ -201,6 +201,8 @@ proc routeSignedBeaconBlock*(
if dc.index in custody_columns:
dataColumnRefs = Opt.some(dataColumnsOpt[].get().mapIt(newClone(it)))
debugEcho "Data column refs"
debugEcho dataColumnRefs.get.len
let added = await router[].blockProcessor[].addBlock(
MsgSource.api, ForkedSignedBeaconBlock.init(blck), blobRefs, dataColumnRefs)