MetisProtocol / metis-ansible

4 stars 2 forks source link

l2geth stopped sync after upgrade to v0.3.3 #10

Closed susuper closed 1 month ago

susuper commented 1 month ago

Hello. l2geth has stopped syncing after recent network upgrade.

INFO [08-16|13:11:11.290] Enabling metrics collection
INFO [08-16|13:11:11.292] Maximum peer count                       ETH=128 LES=0 total=128
INFO [08-16|13:11:11.292] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [08-16|13:11:11.292] Starting peer-to-peer node               instance=Geth/v1.9.10-stable/linux-amd64/go1.22.2
INFO [08-16|13:11:11.292] Allocated trie memory caches             clean=10.43GiB dirty=0.00B
INFO [08-16|13:11:11.292] Allocated cache and file handles         database=/_data/metis/geth/geth/chaindata cache=10.43GiB handles=524288
INFO [08-16|13:11:12.504] Opened ancient database                  database=/_data/metis/geth/geth/chaindata/ancient
INFO [08-16|13:11:12.505] Initialised chain configuration          config="{ChainID: 1088 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 P
etersburg: 0 Istanbul: 0, Muir Glacier: 0, Berlin: 3380000, Shanghai: <nil>, Engine: clique}"
INFO [08-16|13:11:12.505] Initialising Ethereum protocol           versions="[64 63]" network=1088 dbversion=7
INFO [08-16|13:11:12.506] Loaded most recent local header          number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=4h19m32s
INFO [08-16|13:11:12.506] Loaded most recent local full block      number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=4h19m32s
INFO [08-16|13:11:12.506] Loaded most recent local fast block      number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=4h19m32s
INFO [08-16|13:11:12.509] Loaded local transaction journal         transactions=0 dropped=0
INFO [08-16|13:11:12.509] Regenerated local transaction journal    transactions=0 accounts=0
INFO [08-16|13:11:12.509] Running in verifier mode                 sync-backend=l1
INFO [08-16|13:11:12.509] Configured rollup client                 url=http://127.0.0.1:7878 chain-id=1088 ctc-deploy-height=13626959
INFO [08-16|13:11:12.509] Configured seqAdapter                    url=                      SeqsetContract=0x0fe382b74C3894B65c10E5C12ae60Bbd8FAf5b48 SeqsetValidHeight=15214531 SeqAddress= Loca
lL2ClientHttp=http://localhost:8545
INFO [08-16|13:11:12.509] Start sync service only peer             bridge=https://andromeda.metis.io
INFO [08-16|13:11:12.509] initializeLatestL1                       ctcDeployHeight=13626959
INFO [08-16|13:11:12.514] Updating batch index                     old=<nil> new=43943
INFO [08-16|13:11:12.514] Found latest index                       index=18119749
INFO [08-16|13:11:12.514] Found latest queue index                 queue-index=38702
INFO [08-16|13:11:12.547] Found correct staring queue index        queue-index=38702
INFO [08-16|13:11:12.547] Initialized Latest L1 Info               blocknumber=20540100 timestamp=1723798300
INFO [08-16|13:11:12.547] Initial Rollup State                     state=0x4ce66b56d215049700acdef5a8149ef02441019001c406da7b4821cfc1135ff4 index=18119749 queue-index=38702 verified-index=181197
49
INFO [08-16|13:11:12.547] Backend Config                           max-calldata-size=127000 gas-limit=1100000000 is-verifier=true using-ovm=true ctx.ExtRPCEnabled() =true
INFO [08-16|13:11:12.547] Miner newWorkLoop startCh                interrupt=1
INFO [08-16|13:11:12.547] Dial to a new proxy rpc client           url=https://andromeda.metis.io
INFO [08-16|13:11:12.561] Mapped network port                      proto=tcp extport=30303 intport=30303 interface=ExtIP(x.x.x.x)
INFO [08-16|13:11:12.561] Mapped network port                      proto=udp extport=30303 intport=30303 interface=ExtIP(x.x.x.x)
INFO [08-16|13:11:12.575] New local node record                    seq=26 id=2aa83c1498dedf8e ip=x.x.x.x udp=30303 tcp=30303
INFO [08-16|13:11:12.575] Started P2P networking                   self=node_id
INFO [08-16|13:11:12.575] IPC endpoint opened                      url=/_data/metis/geth/geth.ipc
INFO [08-16|13:11:12.576] HTTP endpoint opened                     url=http://127.0.0.1:8545      cors= vhosts=localhost
INFO [08-16|13:11:12.576] WebSocket endpoint opened                url=ws://127.0.0.1:8546
INFO [08-16|13:11:12.909] Unlocked account                         address=0x00000398232E2064F896018496b4b44b3D62751F
INFO [08-16|13:11:12.909] Transaction pool price threshold updated price=0
INFO [08-16|13:11:12.909] Transaction pool price threshold updated price=1000000000
INFO [08-16|13:11:12.910] Updating gas price cache
INFO [08-16|13:11:12.910] Miner newWorkLoop startCh                interrupt=1
INFO [08-16|13:11:12.910] Set L2 Gas Price                         gasprice=1636036875
INFO [08-16|13:11:12.910] Set L1 Gas Price                         gasprice=0
INFO [08-16|13:11:12.910] Set batch overhead                       overhead=2750
INFO [08-16|13:11:12.910] Set scalar                               scalar=8
INFO [08-16|13:11:12.910] Running without syncing enabled
INFO [08-16|13:11:14.910] Miner newWorkLoop time.C                 seqModel=false mpcEnabled=true isRunning=true resubmit=true
INFO [08-16|13:11:14.910] Miner newWorkLoop time.C, timer reset by w.newTxs empty

After this nothing is happening.

l2dtl log:

{"level":30,"time":1723815143277,"msg":"Reading from local CanonicalTransactionChain, chainId is 1"}
{"level":30,"time":1723815143277,"msg":"Read cached contract address for CanonicalTransactionChain from 0 to 20541497, get 0x56a76bcC92361f6DF8D75476feD8843EdC70e1C9"}
{"level":30,"time":1723815203284,"usingL2ChainId":1088,"latestBatch":{"index":43945,"root":"0x24a39a3fde344cd372e7742ac37a5f67503f372488d03bab11c22f08e30efeef","size":199,"prevTotalElements":181
20930,"extraData":"","blockNumber":20540968,"timestamp":1723808603,"submitter":"0x1A9da0aedA630dDf2748a453BF6d92560762D914","l1TransactionHash":"0x73d13126e937df039004741c65c450c320e878c0662849b
2c2e2a1a343cadaad"},"stateLatestBatch":null,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
{"level":30,"time":1723815203284,"highestSyncedL1Block":20541497,"targetL1Block":20541502,"highestSyncedL1BatchIndex":43945,"inboxAddress":"0xff00000000000000000000000000000000001088","inboxSend
er":"0x1a9da0aeda630ddf2748a453bf6d92560762d914","inboxBatchStart":42647,"useBatchInbox":false,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
{"level":30,"time":1723815203286,"msg":"Reading from local CanonicalTransactionChain, chainId is 1"}
{"level":30,"time":1723815203286,"msg":"Read cached contract address for CanonicalTransactionChain from 0 to 20541502, get 0x56a76bcC92361f6DF8D75476feD8843EdC70e1C9"}
ericlee42 commented 1 month ago

Shanghai: <nil>

You need to check if you have a correct chain config

https://github.com/MetisProtocol/metis-ansible/blob/714d6fd11c58892cbdc38802c3728a513ffe4652/playbooks/files/andromeda/l2geth.env#L23