From 1c55ef73450306ee1aed49bde90f0ea8e1edce77 Mon Sep 17 00:00:00 2001 From: tersec Date: Fri, 4 Aug 2023 05:36:42 +0000 Subject: [PATCH] note summary data about invalid baked-in states (#5247) --- beacon_chain/nimbus_beacon_node.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 03d315c26..331e51a7c 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -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