more logging
This commit is contained in:
parent
6af7918b78
commit
4f7eedb72b
|
@ -697,10 +697,10 @@ proc storeBlock(
|
||||||
# one
|
# one
|
||||||
self[].lastPayload = signedBlock.message.slot
|
self[].lastPayload = signedBlock.message.slot
|
||||||
|
|
||||||
# write blobs now that block has been written.
|
# # write blobs now that block has been written.
|
||||||
let blobs = blobsOpt.valueOr: BlobSidecars @[]
|
# let blobs = blobsOpt.valueOr: BlobSidecars @[]
|
||||||
for b in blobs:
|
# for b in blobs:
|
||||||
self.consensusManager.dag.db.putBlobSidecar(b[])
|
# self.consensusManager.dag.db.putBlobSidecar(b[])
|
||||||
|
|
||||||
# write data columns now that block has been written.
|
# write data columns now that block has been written.
|
||||||
let data_columns = dataColumnsOpt.valueOr: DataColumnSidecars @[]
|
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,
|
custody_columns = router[].network.nodeId.get_custody_columns(max(SAMPLES_PER_SLOT.uint64,
|
||||||
metadata))
|
metadata))
|
||||||
|
|
||||||
|
debugEcho "dcs"
|
||||||
|
debugEcho data_columns.len
|
||||||
|
|
||||||
|
debugEcho "custodycols"
|
||||||
|
debugEcho custody_columns.len
|
||||||
|
|
||||||
for dc in data_columns:
|
for dc in data_columns:
|
||||||
if dc.index in custody_columns:
|
if dc.index in custody_columns:
|
||||||
dataColumnRefs = Opt.some(dataColumnsOpt[].get().mapIt(newClone(it)))
|
dataColumnRefs = Opt.some(dataColumnsOpt[].get().mapIt(newClone(it)))
|
||||||
|
|
||||||
debugEcho "Data column refs"
|
|
||||||
debugEcho dataColumnRefs.get.len
|
|
||||||
let added = await router[].blockProcessor[].addBlock(
|
let added = await router[].blockProcessor[].addBlock(
|
||||||
MsgSource.api, ForkedSignedBeaconBlock.init(blck), blobRefs, dataColumnRefs)
|
MsgSource.api, ForkedSignedBeaconBlock.init(blck), blobRefs, dataColumnRefs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue