mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 23:04:26 +00:00
add condition for when >= deneb
This commit is contained in:
parent
e9586fe879
commit
5c3b360b2d
@ -635,7 +635,7 @@ proc storeBlock(
|
|||||||
# TODO with v1.4.0, not sure this is still relevant
|
# TODO with v1.4.0, not sure this is still relevant
|
||||||
# Establish blob viability before calling addHeadBlock to avoid
|
# Establish blob viability before calling addHeadBlock to avoid
|
||||||
# writing the block in case of blob error.
|
# writing the block in case of blob error.
|
||||||
# when typeof(signedBlock).kind >= ConsensusFork.Deneb:
|
when typeof(signedBlock).kind >= ConsensusFork.Deneb:
|
||||||
# if blobsOpt.isSome:
|
# if blobsOpt.isSome:
|
||||||
# let blobs = blobsOpt.get()
|
# let blobs = blobsOpt.get()
|
||||||
# let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
|
# let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user