fix
This commit is contained in:
parent
e11e03ebc7
commit
cb3f775f75
|
@ -427,17 +427,16 @@ proc initFullNode(
|
||||||
# maybeFinalized = maybeFinalized)
|
# maybeFinalized = maybeFinalized)
|
||||||
|
|
||||||
when consensusFork >= ConsensusFork.Deneb:
|
when consensusFork >= ConsensusFork.Deneb:
|
||||||
if not dataColumnQuarantine[].hasDataColumns(forkyBlck) and
|
if dataColumnQuarantine[].hasDataColumns(forkyBlck) and
|
||||||
len(forkyBlck.message.body.blob_kzg_commitments) == 0:
|
len(forkyBlck.message.body.blob_kzg_commitments) != 0:
|
||||||
if not quarantine[].addColumnless(dag.finalizedHead.slot, forkyBlck):
|
|
||||||
err(VerifierError.UnviableFork)
|
|
||||||
else:
|
|
||||||
err(VerifierError.MissingParent)
|
|
||||||
else:
|
|
||||||
let data_columns = dataColumnQuarantine[].popDataColumns(forkyBlck.root, forkyBlck)
|
let data_columns = dataColumnQuarantine[].popDataColumns(forkyBlck.root, forkyBlck)
|
||||||
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
||||||
Opt.none(BlobSidecars), Opt.some(data_columns),
|
Opt.none(BlobSidecars), Opt.some(data_columns),
|
||||||
maybeFinalized = maybeFinalized)
|
maybeFinalized = maybeFinalized)
|
||||||
|
else:
|
||||||
|
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
||||||
|
Opt.none(BlobSidecars), Opt.none(DataColumnSidecars),
|
||||||
|
maybeFinalized = maybeFinalized)
|
||||||
else:
|
else:
|
||||||
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
||||||
Opt.none(BlobSidecars), Opt.none(DataColumnSidecars),
|
Opt.none(BlobSidecars), Opt.none(DataColumnSidecars),
|
||||||
|
|
Loading…
Reference in New Issue