mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
Hotfix: fix Altona's GENESIS_FORK_VERSION value
This commit is contained in:
parent
74396747a3
commit
49800b3360
@ -83,12 +83,11 @@ proc extractRuntimePreset*(configPath: string, configData: PresetFile): RuntimeP
|
||||
result = RuntimePreset()
|
||||
|
||||
for name, value in configData.values:
|
||||
if name notin runtimeValues:
|
||||
if not presetValueLoaders[name.int](result, value):
|
||||
let errMsg = "The preset '" & configPath & "'is not compatible with " &
|
||||
"the current build due to an incompatible value " &
|
||||
$name & " = " & value.string
|
||||
raise newException(PresetIncompatible, errMsg)
|
||||
if not presetValueLoaders[name.int](result, value):
|
||||
let errMsg = "The preset '" & configPath & "'is not compatible with " &
|
||||
"the current build due to an incompatible value " &
|
||||
$name & " = " & value.string
|
||||
raise newException(PresetIncompatible, errMsg)
|
||||
|
||||
proc loadEth2NetworkMetadata*(path: string): Eth2NetworkMetadata
|
||||
{.raises: [CatchableError, Defect].} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user