mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-25 14:00:17 +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:
|
try:
|
||||||
newClone readSszForkedHashedBeaconState(cfg, metadata.genesisBytes)
|
newClone readSszForkedHashedBeaconState(cfg, metadata.genesisBytes)
|
||||||
except CatchableError as err:
|
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:
|
else:
|
||||||
nil
|
nil
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user