erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.12k stars 1.11k forks source link

ERRO Execution endpoint required: you need a Deneb enabled execution engine to validate blocks #12274

Closed fridary closed 5 days ago

fridary commented 6 days ago

Erigon version: erigon version 2.59.3-088fd8ef CL client & version: Lighthouse v5.1.3-3058b96 OS & Version: Ubuntu 20.04.6 LTS, CPU E5-2695 v4, 36 cores, 192 Gb RAM Disk: NVMe HPE MT006400KWHAE 6.4 Tb Chain/Network: mainnet

I have an error ERRO Execution endpoint required info: you need a Deneb enabled execution engine to validate blocks in logs. I support that means I don't have validator, but I have.

Erigon service command (authrpc default is http://127.0.0.1:8551):

ExecStart=/home/sirjay/erigon/build/bin/erigon --datadir=/disk_sde/erigon --ws --http.api=eth,erigon,engine,web3,net,debug,trace,txpool --authrpc.jwtsecret=/home/sirjay/erigon/jwtsecret --prune.h.before=13916166 --prune.r.before=13916166 --prune.t.before=13916166 --prune.c.before=13916166 --torrent.download.rate=128mb --rpc.batch.limit=5000

Lighthouse service command:

ExecStart=/usr/bin/lighthouse bn \
  --network mainnet \
  --port 9100 \
  --datadir /disk_sde/lighthouse \
  --http \
  --execution-endpoint http://127.0.0.1:8551 \
  --execution-jwt /home/sirjay/erigon/jwtsecret \
  --disable-deposit-contract-sync \
  --checkpoint-sync-url https://mainnet.checkpoint.sigp.io 

How to fix? I must say that I have erigon and geth both installed on one PC. Lighthouse was working good before on geth and I set connection port (execution-endpoint) 9551 both to geth and lighthouse. Now I completely stopped geth, changed erigon's caplin to lighthouse and get this error. What do I miss?

Erigon last logs:

oct 10 23:37:41 sirjay-pc erigon[4462]: [INFO] [10-10|23:37:41.630] [txpool] stat                            pending=0 baseFee=0 queued=30000 alloc=3.3GB sys=3.9GB
oct 10 23:40:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:40:40.134] [p2p] GoodPeers                          eth67=9 eth66=1 eth68=30
oct 10 23:40:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:40:40.370] [mem] memory stats                       Rss=6.0MB Size=0B Pss=6.0MB SharedClean=3.0KB SharedDirty=0B PrivateClean=2.0MB PrivateDirty=4.0MB Referenced=6.0MB Anonymous=4.0MB Swap=0B alloc=3.6GB sys=3.9GB
oct 10 23:40:41 sirjay-pc erigon[4462]: [INFO] [10-10|23:40:41.631] [txpool] stat                            pending=0 baseFee=0 queued=30000 alloc=3.6GB sys=3.9GB
oct 10 23:43:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:43:40.134] [p2p] GoodPeers                          eth68=30 eth67=9 eth66=1
oct 10 23:43:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:43:40.374] [mem] memory stats                       Rss=6.0MB Size=0B Pss=6.0MB SharedClean=3.0KB SharedDirty=0B PrivateClean=2.0MB PrivateDirty=4.0MB Referenced=6.0MB Anonymous=4.0MB Swap=0B alloc=3.2GB sys=3.9GB
oct 10 23:43:41 sirjay-pc erigon[4462]: [INFO] [10-10|23:43:41.630] [txpool] stat                            pending=0 baseFee=0 queued=30000 alloc=3.2GB sys=3.9GB
oct 10 23:46:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:46:40.134] [p2p] GoodPeers                          eth68=29 eth67=9 eth66=1
oct 10 23:46:40 sirjay-pc erigon[4462]: [INFO] [10-10|23:46:40.378] [mem] memory stats                       Rss=6.0MB Size=0B Pss=6.0MB SharedClean=3.0KB SharedDirty=0B PrivateClean=2.0MB PrivateDirty=4.0MB Referenced=6.0MB Anonymous=4.0MB Swap=0B alloc=3.5GB sys=3.9GB

Error lighthouse log:

oct 10 20:40:29 sirjay-pc lighthouse[18671]: Oct 10 17:40:29.002 INFO Syncing                                 est_time: 3 mins, speed: 0.35 slots/sec, distance: 69 slots (13 mins), peers: 102, service: slot_notifier
oct 10 20:40:29 sirjay-pc lighthouse[18671]: Oct 10 17:40:29.004 ERRO Execution endpoint required             info: you need a Deneb enabled execution engine to validate blocks, see: https://lighthouse-book.sigmaprime.io/merge-migration.html, service: slot_notifier
oct 10 20:40:31 sirjay-pc lighthouse[18671]: Oct 10 17:40:31.567 CRIT Failed to update execution head         error: ExecutionLayerMissing, service: beacon
oct 10 20:40:31 sirjay-pc lighthouse[18671]: Oct 10 17:40:31.567 CRIT Failed to prepare proposers after fork choice, error: ExecutionLayerMissing, service: beacon
oct 10 20:40:31 sirjay-pc lighthouse[18671]: Oct 10 17:40:31.568 WARN Unable to prepare proposer with lookahead, slot: 10146500, error: ExecutionLayerMissing, service: state_advance
oct 10 20:40:35 sirjay-pc lighthouse[18671]: Oct 10 17:40:35.862 CRIT Failed to update execution head         error: ExecutionLayerMissing, service: beacon
oct 10 20:40:35 sirjay-pc lighthouse[18671]: Oct 10 17:40:35.862 CRIT Failed to prepare proposers after fork choice, error: ExecutionLayerMissing, service: beacon
oct 10 20:40:37 sirjay-pc lighthouse[18671]: Oct 10 17:40:37.386 INFO Sync state updated                      new_state: Syncing Head Chain, old_state: Syncing Finalized Chain, service: sync
oct 10 20:40:39 sirjay-pc lighthouse[18671]: Oct 10 17:40:39.903 CRIT Failed to update execution head         error: ExecutionLayerMissing, service: beacon
oct 10 20:40:39 sirjay-pc lighthouse[18671]: Oct 10 17:40:39.903 CRIT Failed to prepare proposers after fork choice, error: ExecutionLayerMissing, service: beacon
oct 10 20:40:39 sirjay-pc lighthouse[18671]: Oct 10 17:40:39.903 WARN Unable to prepare proposer with lookahead, slot: 10146501, error: ExecutionLayerMissing, service: state_advance
oct 10 20:40:40 sirjay-pc lighthouse[18671]: Oct 10 17:40:40.428 CRIT Failed to update execution head         error: ExecutionLayerMissing, service: beacon
oct 10 20:40:40 sirjay-pc lighthouse[18671]: Oct 10 17:40:40.428 CRIT Failed to prepare proposers after fork choice, error: ExecutionLayerMissing, service: beacon
oct 10 20:40:41 sirjay-pc lighthouse[18671]: Oct 10 17:40:41.000 INFO Syncing                                 est_time: 0 mins, speed: 1.02 slots/sec, distance: 38 slots (7 mins), peers: 98, service: slot_notifier
oct 10 20:40:41 sirjay-pc lighthouse[18671]: Oct 10 17:40:41.000 ERRO Execution endpoint required             info: you need a Deneb enabled execution engine to validate blocks, see: https://lighthouse-book.sigmaprime.io/merge-migration.html, service: slot_notifier
oct 10 20:40:46 sirjay-pc lighthouse[18671]: Oct 10 17:40:46.613 WARN Unable to prepare proposer with lookahead, slot: 10146502, error: ExecutionLayerMissing, service: state_advance
oct 10 20:40:53 sirjay-pc lighthouse[18671]: Oct 10 17:40:53.000 INFO Syncing                                 est_time: 0 mins, speed: 0.67 slots/sec, distance: 39 slots (7 mins), peers: 97, service: slot_notifier
oct 10 20:40:53 sirjay-pc lighthouse[18671]: Oct 10 17:40:53.000 ERRO Execution endpoint required             info: you need a Deneb enabled execution engine to validate blocks, see: https://lighthouse-book.sigmaprime.io/merge-migration.html, service: slot_notifier
oct 10 20:40:58 sirjay-pc lighthouse[18671]: Oct 10 17:40:58.751 WARN Unable to prepare proposer with lookahead, slot: 10146503, error: ExecutionLayerMissing, service: state_advance
oct 10 20:41:05 sirjay-pc lighthouse[18671]: Oct 10 17:41:05.000 INFO Syncing                                 est_time: 0 mins, speed: 0.67 slots/sec, distance: 40 slots (8 mins), peers: 96, service: slot_notifier
fridary commented 5 days ago

I checked systemctl status and indeed no some flags that started lighthouse correct. I checked empty spaces in service file and there was one empty line after slash. Now works