add more checks to ensure all custody columns are received
This commit is contained in:
parent
622cd0b087
commit
198ac66e2c
|
@ -398,7 +398,9 @@ proc processDataColumnSidecar*(
|
||||||
let columnless = o.unsafeGet()
|
let columnless = o.unsafeGet()
|
||||||
withBlck(columnless):
|
withBlck(columnless):
|
||||||
when consensusFork >= ConsensusFork.Deneb:
|
when consensusFork >= ConsensusFork.Deneb:
|
||||||
if self.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck):
|
if self.dataColumnQuarantine[].hasMissingDataColumns(forkyBlck) and
|
||||||
|
self.dataColumnQuarantine[].gatherDataColumns(forkyBlck).len ==
|
||||||
|
max(SAMPLES_PER_SLOT, CUSTODY_REQUIREMENT):
|
||||||
self.blockProcessor[].enqueueBlock(
|
self.blockProcessor[].enqueueBlock(
|
||||||
MsgSource.gossip, columnless,
|
MsgSource.gossip, columnless,
|
||||||
Opt.none(BlobSidecars),
|
Opt.none(BlobSidecars),
|
||||||
|
|
Loading…
Reference in New Issue