erigontech / erigon

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

How to solve Execution endpoint is not synced #9584

Open Gessi12 opened 9 months ago

Gessi12 commented 9 months ago

Sepolia testnet, Erigon stuck at block 4999999.

erigon version 2.58.1-f12e451c

`> [eth.blockNumber, (new Date((eth.getBlock('latest') || eth.getBlockByNumber(eth.blockNumber)).timestamp * 1000)).toString(), (new Date()).toString()] [4999999, "Mon Jan 01 2024 12:23:36 GMT+0000 (UTC)", "Tue Mar 05 2024 03:30:21 GMT+0000 (UTC)"]

[eth.blockNumber, (new Date((eth.getBlock('latest') || eth.getBlockByNumber(eth.blockNumber)).timestamp * 1000)).toString(), (new Date()).toString()] [4999999, "Mon Jan 01 2024 12:23:36 GMT+0000 (UTC)", "Tue Mar 05 2024 03:30:22 GMT+0000 (UTC)"]`

`Mar 05 03:30:01.905 INFO New block received root:0xc04e1b4fd9e959701f9364b37a2f7118091b10d2bfc86fbb4480f3f4ab520fdf, slot: 4489650

Mar 05 03:30:06.006 WARN Head is optimistic execution_block_hash:0xe0c1ae1b4b00ba13ea269ed1ac5b1de5e50af0488d47021acd385338b3f9ab74, info: chain not fully verified, block and attestation production disabled until execution engine syncs, service: slot_notifier

Mar 05 03:30:06.007 INFO Synced slot: 4489650, block: 0xc04e…0fdf, epoch: 140301, finalized_epoch:140299, finalized_root: 0xb42f…a44c, exec_hash: 0xe0c1…ab74 (unverified), peers: 44, service: slot_notifier

Mar 05 03:30:06.007 WARN Syncing deposit contract block cache est_blocks_remaining: initializing deposits, service:slot_notifier

Mar 05 03:30:11.826 WARN Execution endpoint is not synced last_seen_block_unix_timestamp: 1704111816, endpoint:http://127.0.0.1:8551/, auth=true, service: deposit_contract_rpc

Mar 05 03:30:11.826 ERRO Error updating deposit contract cache error: Failed to get remote head and new block ranges:EndpointError(FarBehind), retry_millis: 60000, service: deposit_contract_rpc

Mar 05 03:30:12.601 INFO New block received root:0xd93c9b3c951819d14ccd3194bee2b28564777543fe5361e4cd51c7ea674b184f, slot: 4489651

Mar 05 03:30:18.000 WARN Head is optimistic execution_block_hash:0x9cf400346f6160c9e3912975639f107a7823c448c482e435a5c5a7188366d190, info: chain not fully verified, block and attestation production disabled until execution engine syncs, service: slot_notifier

Mar 05 03:30:18.000 INFO Synced slot: 4489651, block: 0xd93c…184f, epoch: 140301, finalized_epoch:140299, finalized_root: 0xb42f…a44c, exec_hash: 0x9cf4…d190 (unverified), peers: 47, service: slot_notifier`

It has been stuck in block 4999999 for a long time

camillecorti commented 4 days ago

Any luck? Do you have the solution? I am getting same error.

Gessi12 commented 2 days ago

https://erigon.gitbook.io/erigon/advanced-usage/consensus-layer/caplin

use caplin