more logging
This commit is contained in:
parent
6af7918b78
commit
4f7eedb72b
|
@ -697,10 +697,10 @@ proc storeBlock(
|
|||
# one
|
||||
self[].lastPayload = signedBlock.message.slot
|
||||
|
||||
# write blobs now that block has been written.
|
||||
let blobs = blobsOpt.valueOr: BlobSidecars @[]
|
||||
for b in blobs:
|
||||
self.consensusManager.dag.db.putBlobSidecar(b[])
|
||||
# # write blobs now that block has been written.
|
||||
# let blobs = blobsOpt.valueOr: BlobSidecars @[]
|
||||
# for b in blobs:
|
||||
# self.consensusManager.dag.db.putBlobSidecar(b[])
|
||||
|
||||
# write data columns now that block has been written.
|
||||
let data_columns = dataColumnsOpt.valueOr: DataColumnSidecars @[]
|
||||
|
|
|
@ -197,12 +197,16 @@ proc routeSignedBeaconBlock*(
|
|||
custody_columns = router[].network.nodeId.get_custody_columns(max(SAMPLES_PER_SLOT.uint64,
|
||||
metadata))
|
||||
|
||||
debugEcho "dcs"
|
||||
debugEcho data_columns.len
|
||||
|
||||
debugEcho "custodycols"
|
||||
debugEcho custody_columns.len
|
||||
|
||||
for dc in data_columns:
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue