note summary data about invalid baked-in states (#5247)
This commit is contained in:
parent
8f18491131
commit
1c55ef7345
|
@ -550,7 +550,9 @@ proc init*(T: type BeaconNode,
|
|||
try:
|
||||
newClone readSszForkedHashedBeaconState(cfg, metadata.genesisBytes)
|
||||
except CatchableError as err:
|
||||
raiseAssert "Invalid baked-in state: " & err.msg
|
||||
raiseAssert "Invalid baked-in state of length " &
|
||||
$metadata.genesisBytes.len & " and eth2digest " &
|
||||
$eth2digest(metadata.genesisBytes) & ": " & err.msg
|
||||
else:
|
||||
nil
|
||||
|
||||
|
|
Loading…
Reference in New Issue