juno
juno copied to clipboard
p2p sync: "sanity check error: can not verify hash in block header for block number: 122549"
Testing with a build from source, pulled from release v0.12.2, I cannot begin to sync.
I used the snapshot from the README (https://juno-snapshots.nethermind.dev/files/sepolia/latest).
I'm starting Juno with:
./build/juno \
--db-path /data/juno/sepolia \
--http-port 6060 \
--eth-node wss://eth-sepolia.g.alchemy.com/v2/REMOVED_API_KEY \
--log-level DEBUG \
--network=sepolia \
--p2p \
--p2p-peers=/ip4/35.231.95.227/tcp/7777/p2p/12D3KooWNKz9BJmyWVFUnod6SQYLG4dYZNhs3GrMpiot63Y1DLYS
I'm seeing a lot of this, straight away:
04:32:35.911 23/09/2024 +00:00 DEBUG p2p/sync.go:227 ----- Received all block parts from peers for block number 122549-----
04:32:35.932 23/09/2024 +00:00 ERROR p2p/sync.go:121 Failed to process block {"err": "sanity check error: can not verify hash in block header for block number: 122549"}
[github.com/NethermindEth/juno/p2p.(*syncService).start](http://github.com/NethermindEth/juno/p2p.(*syncService).start)
/home/e/r/nm/juno/juno-0.12.2/p2p/sync.go:121
[github.com/NethermindEth/juno/p2p.(*Service).Run](http://github.com/NethermindEth/juno/p2p.(*Service).Run)
/home/e/r/nm/juno/juno-0.12.2/p2p/p2p.go:261
[github.com/NethermindEth/juno/node.(*Node).Run.func3](http://github.com/NethermindEth/juno/node.(*Node).Run.func3)
/home/e/r/nm/juno/juno-0.12.2/node/node.go:366
[github.com/sourcegraph/conc/panics.(*Catcher).Try](http://github.com/sourcegraph/conc/panics.(*Catcher).Try)
/home/e/go/pkg/mod/github.com/sourcegraph/[email protected]/panics/panics.go:23
[github.com/sourcegraph/conc.(*WaitGroup).Go.func1](http://github.com/sourcegraph/conc.(*WaitGroup).Go.func1)
/home/e/go/pkg/mod/github.com/sourcegraph/[email protected]/waitgroup.go:32
Here's my config:
_
| |
| |_ _ _ __ ___
_ | | | | | '_ \ / _ \
| |__| | |_| | | | | (_) |
\____/ \__,_|_| |_|\___/
Juno is a Go implementation of a Starknet full-node client created by Nethermind.
04:32:30.731 23/09/2024 +00:00 WARN node/node.go:164 P2P features enabled. Please note P2P is in experimental stage
04:32:30.768 23/09/2024 +00:00 WARN p2p/p2p.go:128 Failed to load peers {"err": "load peers: decode peer ID: multihash length inconsistent: expected 0; got 2"}
04:32:31.627 23/09/2024 +00:00 WARN node/node.go:277 Failed to parse Juno version, will not warn about new releases {"version": ""}
04:32:31.628 23/09/2024 +00:00 DEBUG node/node.go:335 Running Juno with config:
loglevel: debug
http: false
httphost: localhost
httpport: 6060
rpccorsenable: false
websocket: false
websockethost: localhost
websocketport: 6061
grpc: false
grpchost: localhost
grpcport: 6064
databasepath: /data/juno/sepolia
network:
name: sepolia
feederurl: https://alpha-sepolia.starknet.io/feeder_gateway/
gatewayurl: https://alpha-sepolia.starknet.io/gateway/
l1chainid: "11155111"
l2chainid: SN_SEPOLIA
corecontractaddress: 0xe2bb56ee936fd6433dc0f6e7e3b8365c906aa057
blockhashmetainfo:
fallbacksequenceraddress: {}
first07block: 0
unverifiablerange: []
ethnode: wss://eth-sepolia.g.alchemy.com/v2/REMOVED_API_KEY
pprof: false
pprofhost: localhost
pprofport: 6062
colour: true
pendingpollinterval: 5s
remotedb: ""
versionedconstantsfile: ""
metrics: false
metricshost: localhost
metricsport: 9090
p2p: true
p2paddr: ""
p2ppublicaddr: ""
p2ppeers: /ip4/35.231.95.227/tcp/7777/p2p/12D3KooWNKz9BJmyWVFUnod6SQYLG4dYZNhs3GrMpiot63Y1DLYS
p2pfeedernode: false
p2pprivatekey: ""
maxvms: 120
maxvmqueue: 240
rpcmaxblockscan: 18446744073709551615
rpccallmaxsteps: 4000000
dbcachesize: 8
dbmaxhandles: 1024
gatewayapikey: ""
gatewaytimeout: 5s