flashbots / mev-geth

Go implementation of MEV-Auction for Ethereum
GNU Lesser General Public License v3.0
784 stars 197 forks source link

Could not compute head from new attestations error=head... #149

Open kevgithub opened 1 year ago

kevgithub commented 1 year ago

I run mev-geth and prysm, try to sync from testnet, here's what I use:


./build/bin/geth --sepolia --http --http.api eth,web3,debug,net,engine,admin --authrpc.jwtsecret /Users/.../consensus/prysm/jwt.hex --datadir /Users/.../execution/data

./prysm.sh beacon-chain  --sepolia  --checkpoint-sync-url=https://sepolia.beaconstate.info --genesis-beacon-api-url=https://sepolia.beaconstate.info  --jwt-secret=/Users/.../consensus/prysm/jwt.hex --genesis-state=genesis.ssz --datadir=/Users/.../consensus/data

and keep getting this error from prysm:

[2023-08-22 15:03:48] ERROR blockchain: Could not compute head from new attestations error=head at slot 3079424 with weight 0 is not eligible, finalizedEpoch, justified Epoch 96230, 96231 != 96232, 96232

also get this error from mev-geth:

WARN [08-22|15:04:48.612] Served engine_newPayloadV2 conn=127.0.0.1:52888 reqid=5 duration="17.487µs" err="the method engine_newPayloadV2 does not exist/is not available" Beacon client online, but never received consensus updates. Please ensure your beacon client is operational to follow the chain!

I tried to remove the checkpoint setting --checkpoint-sync-url=https://sepolia.beaconstate.info --genesis-beacon-api-url=https://sepolia.beaconstate.info then everything works fine, buy sync way slower.

I have tried go-ethereum + prysm with checkpoint before and that works fine, did I do anything wrong?

mev-geth version:

Geth
Version: 1.10.23-stable
Git Commit: fddf97beec5877483f879a77b7dea2e58a58d653
Git Commit Date: 20221217
Architecture: amd64
Go Version: go1.21.0
Operating System: darwin
GOPATH=
GOROOT=

prysm version:

beacon-chain version Prysm/v4.0.7/58df1f1ba5996d299c1c1d5874464884ee551be8. Built at: 2023-07-13 16:27:24+00:00