add guard to DB initialization
This commit is contained in:
parent
a5d2cfea79
commit
a0cd63697d
|
@ -562,6 +562,7 @@ proc new*(T: type BeaconChainDB,
|
|||
var blobs: array[BlobFork, KvStoreRef]
|
||||
if cfg.DENEB_FORK_EPOCH != FAR_FUTURE_EPOCH:
|
||||
blobs[BlobFork.Deneb] = kvStore db.openKvStore("deneb_blobs").expectDb()
|
||||
static: doAssert BlobFork.high == BlobFork.Deneb
|
||||
|
||||
# Versions prior to 1.4.0 (altair) stored validators in `immutable_validators`
|
||||
# which stores validator keys in compressed format - this is
|
||||
|
|
Loading…
Reference in New Issue