node icon indicating copy to clipboard operation
node copied to clipboard

A more informative error message when syncing from block 1

Open CharlieMc0 opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe.

When node operators attempt to start their node from block 1 they get an unclear error message like

panic: json: cannot unmarshal array into Go value of type map[string]json.RawMessage

Example Issue: https://github.com/zeta-chain/node/issues/2682

Describe the solution you'd like Instead, if someone attempts to start at block 1 it should give them an informative error message like You cannot sync testnet or mainnet from block 1 using this version. You should sync your node from a snapshot

Motivation and Context Many node operators run into this problem, get confused, and ask for help in Discord.

CharlieMc0 avatar Aug 12 '24 17:08 CharlieMc0