ethereum-optimism / developers

This repository is to serve as a place where builders on every level of the OP Stack can come to collaborate.
Creative Commons Zero v1.0 Universal
73 stars 45 forks source link

Persistent Sync Deviation in op-geth #293

Closed andrewten123 closed 8 months ago

andrewten123 commented 8 months ago

Bug Description After updating to version v1.101304.1, op-geth is consistently lagging behind the actual chain height by approximately 20,000 blocks. We have performed a full node resync several times, but it hasn't yielded any results; the lag persists.

Steps to Reproduce run the node

Expected behavior op-geth should sync with the latest block height in the chain.

Environment Information: Geth version: v1.101304.1 Op-node version: v1.3.2

Logs: ``` INFO [03-17|12:44:24.654] --------------------------------------------------------------------------------------------------------------------------------------------------------- INFO [03-17|12:44:24.654] Chain ID: 255 (KromaMainnet) INFO [03-17|12:44:24.654] Consensus: Kroma INFO [03-17|12:44:24.654] INFO [03-17|12:44:24.654] Pre-Merge hard forks (block based): INFO [03-17|12:44:24.654] - Homestead: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/homestead.md) INFO [03-17|12:44:24.654] - Tangerine Whistle (EIP 150): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md) INFO [03-17|12:44:24.654] - Spurious Dragon/1 (EIP 155): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md) INFO [03-17|12:44:24.654] - Spurious Dragon/2 (EIP 158): #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md) INFO [03-17|12:44:24.654] - Byzantium: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/byzantium.md) INFO [03-17|12:44:24.654] - Constantinople: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/constantinople.md) INFO [03-17|12:44:24.654] - Petersburg: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md) INFO [03-17|12:44:24.654] - Istanbul: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/istanbul.md) INFO [03-17|12:44:24.654] - Muir Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md) INFO [03-17|12:44:24.654] - Berlin: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/berlin.md) INFO [03-17|12:44:24.654] - London: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/london.md) INFO [03-17|12:44:24.654] - Arrow Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md) INFO [03-17|12:44:24.654] - Gray Glacier: #0 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md) INFO [03-17|12:44:24.654] INFO [03-17|12:44:24.654] Merge configured: INFO [03-17|12:44:24.654] - Hard-fork specification: https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md INFO [03-17|12:44:24.654] - Network known to be merged: true INFO [03-17|12:44:24.654] - Total terminal difficulty: 0 INFO [03-17|12:44:24.654] - Merge netsplit block: #0 INFO [03-17|12:44:24.654] INFO [03-17|12:44:24.654] Post-Merge hard forks (timestamp based): INFO [03-17|12:44:24.654] - Shanghai: @1708502400 (https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md) INFO [03-17|12:44:24.654] - Regolith: @0 INFO [03-17|12:44:24.654] - Canyon: @1708502400 INFO [03-17|12:44:24.654] INFO [03-17|12:44:24.654] --------------------------------------------------------------------------------------------------------------------------------------------------------- INFO [03-17|12:44:24.654] INFO [03-17|12:44:24.654] Loaded most recent local block number=8,377,619 hash=fadcc5..314395 td=0 age=12h10m39s INFO [03-17|12:44:24.654] Loaded most recent local finalized block number=8,377,127 hash=70fb9d..deb854 td=0 age=12h27m3s INFO [03-17|12:44:24.655] Initialising Ethereum protocol network=255 dbversion=8 INFO [03-17|12:44:24.655] Initialized transaction indexer limit=0 INFO [03-17|12:44:24.659] Setting new local account address=0xda9e8e71bB750a996Af33ebB8aBb18cd9EB9DC75 INFO [03-17|12:44:24.659] Loaded local transaction journal transactions=2 dropped=0 INFO [03-17|12:44:24.660] Regenerated local transaction journal transactions=2 accounts=1 INFO [03-17|12:44:24.668] Chain post-merge, sync via beacon client INFO [03-17|12:44:24.668] Gasprice oracle is ignoring threshold set threshold=2 WARN [03-17|12:44:24.673] Engine API enabled protocol=eth INFO [03-17|12:44:24.673] Starting peer-to-peer node instance=Geth/v0.1.0-unstable-af3965bb/linux-amd64/go1.21.7 INFO [03-17|12:44:24.737] New local node record seq=1,709,399,426,984 id=61a87a1bcb78ae69 ip=127.0.0.1 udp=30303 tcp=30304 INFO [03-17|12:44:24.738] Started P2P networking self="enode://d1a7e4b8ef76db8b05c176d197d7648e639c7430e6665e0371ce2baa42c2e298d228f95705faadfae217f13e2bb6bf4466a992d9c7924a4a961d6d82bf95221f@127.0.0.1:30304?discport=30303" INFO [03-17|12:44:24.740] IPC endpoint opened url=/.kroma/db/geth.ipc INFO [03-17|12:44:24.740] Loaded JWT secret file path=/local/jwtsecret crc32=0x9c511b3a INFO [03-17|12:44:24.741] HTTP server started endpoint=[::]:8545 auth=false prefix= cors=* vhosts=* INFO [03-17|12:44:24.741] WebSocket enabled url=ws://[::]:8546 INFO [03-17|12:44:24.741] WebSocket enabled url=ws://[::]:8551 INFO [03-17|12:44:24.741] HTTP server started endpoint=[::]:8551 auth=true prefix= cors=localhost vhosts=* ```
sbvegan commented 8 months ago

These are old versions of the software, try with the latest: https://docs.optimism.io/builders/node-operators/releases#minimum-required-version-by-network