mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
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…
x
Reference in New Issue
Block a user