You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running lodestar with --bootnodes=bad_enr results in
Sep-08 15:43:14.426[] info: Initializing beacon state from anchor state slot=0, epoch=0, stateRoot=0xea2855c3a4d341cfc991dcfc3d685347b0a69dbe63b51f1d838248e4cbfa0c1e
✖ Error: string encoded ENR must start with 'enr:'
at Function.decodeTxt (/usr/app/node_modules/@chainsafe/discv5/lib/enr/enr.js:92:19)
at createNodeJsLibp2p (file:///usr/app/packages/beacon-node/src/network/nodejs/util.ts:56:54)
at Object.beaconHandler [as handler] (file:///usr/app/packages/cli/src/cmds/beacon/handler.ts:74:15)
It's hard to figure out that the cause of the error is a bad enr.
Expected behavior
Throw early and with a message: bad ENR formatting supplied as bootnode.
The text was updated successfully, but these errors were encountered:
Describe the bug
Running lodestar with
--bootnodes=bad_enr
results inIt's hard to figure out that the cause of the error is a bad enr.
Expected behavior
Throw early and with a message: bad ENR formatting supplied as bootnode.
The text was updated successfully, but these errors were encountered: