add condition for when >= deneb

This commit is contained in:
Agnish Ghosh 2024-08-24 18:21:00 +05:30
parent e9586fe879
commit 5c3b360b2d
No known key found for this signature in database
GPG Key ID: 7BDDA05D1B25E9F8
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ proc storeBlock(
# TODO with v1.4.0, not sure this is still relevant
# Establish blob viability before calling addHeadBlock to avoid
# writing the block in case of blob error.
# when typeof(signedBlock).kind >= ConsensusFork.Deneb:
when typeof(signedBlock).kind >= ConsensusFork.Deneb:
# if blobsOpt.isSome:
# let blobs = blobsOpt.get()
# let kzgCommits = signedBlock.message.body.blob_kzg_commitments.asSeq