mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
ncli_db: better error message on missing history
This commit is contained in:
parent
64322a3d45
commit
aac61165d5
@ -536,7 +536,9 @@ proc cmdExportEra(conf: DbConf, cfg: RuntimeConfig) =
|
||||
dag.withUpdatedState(tmpState[], eraBid) do:
|
||||
withState(state):
|
||||
group.finish(e2, forkyState.data).get()
|
||||
do: raiseAssert "withUpdatedState failed"
|
||||
do:
|
||||
echo "Unable to load historical state - export requires fully indexed history node - see https://nimbus.guide/trusted-node-sync.html#recreate-historical-state-access-indices"
|
||||
quit 1
|
||||
|
||||
era += 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user