mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
enable nbn electra block processing (#6288)
This commit is contained in:
parent
e6b9bfc9e4
commit
0ca5211f6a
@ -404,12 +404,7 @@ proc initFullNode(
|
|||||||
maybeFinalized: bool):
|
maybeFinalized: bool):
|
||||||
Future[Result[void, VerifierError]] {.async: (raises: [CancelledError]).} =
|
Future[Result[void, VerifierError]] {.async: (raises: [CancelledError]).} =
|
||||||
withBlck(signedBlock):
|
withBlck(signedBlock):
|
||||||
when consensusFork >= ConsensusFork.Electra:
|
when consensusFork >= ConsensusFork.Deneb:
|
||||||
debugRaiseAssert "foo"
|
|
||||||
await blockProcessor[].addBlock(MsgSource.gossip, signedBlock,
|
|
||||||
Opt.none(BlobSidecars),
|
|
||||||
maybeFinalized = maybeFinalized)
|
|
||||||
elif consensusFork >= ConsensusFork.Deneb:
|
|
||||||
if not blobQuarantine[].hasBlobs(forkyBlck):
|
if not blobQuarantine[].hasBlobs(forkyBlck):
|
||||||
# We don't have all the blobs for this block, so we have
|
# We don't have all the blobs for this block, so we have
|
||||||
# to put it in blobless quarantine.
|
# to put it in blobless quarantine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user