MetisProtocol / metis-ansible

4 stars 2 forks source link

upgrade to l2geth v0.3.3 but it doesn't sync #11

Closed cryptocifer closed 1 month ago

cryptocifer commented 1 month ago

l2geth log:

l2geth-1  | rcfg UsingOVM  true  envChainID  1088 envSeqValidHeight 15214531 defaultSeqAdderss 0x3525fdb496c612e4cDe817A2567081470b7a2Ecb
l2geth-1  | INFO [08-17|02:46:21.104] Maximum peer count                       ETH=50 LES=0 total=50
l2geth-1  | INFO [08-17|02:46:21.104] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
l2geth-1  | INFO [08-17|02:46:21.108] Starting peer-to-peer node               instance=Geth/v1.9.10-stable/linux-amd64/go1.17.13
l2geth-1  | INFO [08-17|02:46:21.108] Allocated trie memory caches             clean=512.00MiB dirty=0.00B
l2geth-1  | INFO [08-17|02:46:21.108] Allocated cache and file handles         database=/data/geth/chaindata cache=512.00MiB handles=524288
l2geth-1  | INFO [08-17|02:46:23.949] Opened ancient database                  database=/data/geth/chaindata/ancient
l2geth-1  | INFO [08-17|02:46:23.973] Allocated cache and file handles         database=/data/geth/tracedb           cache=256.00MiB handles=16
l2geth-1  | INFO [08-17|02:46:24.106] Opened tracing database                  path=/data/geth/tracedb
l2geth-1  | INFO [08-17|02:46:24.129] Initialised chain configuration          config="{ChainID: 1088 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: 0, Berlin: 3380000, Shanghai: <nil>, Engine: clique}"
l2geth-1  | INFO [08-17|02:46:24.176] Initialising Ethereum protocol           versions="[64 63]" network=1088 dbversion=7
l2geth-1  | INFO [08-17|02:46:24.188] Loaded most recent local header          number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=17h54m44s
l2geth-1  | INFO [08-17|02:46:24.188] Loaded most recent local full block      number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=17h54m44s
l2geth-1  | INFO [08-17|02:46:24.188] Loaded most recent local fast block      number=18119750 hash=1cc5b7…f6ce37 td=36239501 age=17h54m44s
l2geth-1  | INFO [08-17|02:46:24.218] Loaded local transaction journal         transactions=0 dropped=0
l2geth-1  | INFO [08-17|02:46:24.219] Regenerated local transaction journal    transactions=0 accounts=0
l2geth-1  | INFO [08-17|02:46:24.219] Running in sequencer mode                sync-backend=l1
l2geth-1  | INFO [08-17|02:46:24.219] Fees                                     threshold-up=nil threshold-down=nil
l2geth-1  | INFO [08-17|02:46:24.219] Enforce Fees                             set=true
l2geth-1  | INFO [08-17|02:46:24.219] Configured rollup client                 url=http://l1dtl:7878 chain-id=1088 ctc-deploy-height=13626959
l2geth-1  | INFO [08-17|02:46:24.219] Configured seqAdapter                    url=                  SeqsetContract=0x0fe382b74C3894B65c10E5C12ae60Bbd8FAf5b48 SeqsetValidHeight=15214531 SeqAddress= LocalL2ClientHttp=http://localhost:8545
l2geth-1  | INFO [08-17|02:46:24.219] Start sync service only peer             bridge=https://andromeda.metis.io
l2geth-1  | INFO [08-17|02:46:24.220] initializeLatestL1                       ctcDeployHeight=13626959
l2geth-1  | INFO [08-17|02:46:24.220] Found latest index                       index=18119749
l2geth-1  | INFO [08-17|02:46:24.221] Found latest queue index                 queue-index=38702
l2geth-1  | INFO [08-17|02:46:24.355] Found correct staring queue index        queue-index=38702
l2geth-1  | INFO [08-17|02:46:24.356] Initialized Latest L1 Info               blocknumber=20540100 timestamp=1723798300
l2geth-1  | INFO [08-17|02:46:24.356] Initial Rollup State                     state=0x4ce66b56d215049700acdef5a8149ef02441019001c406da7b4821cfc1135ff4 index=18119749 queue-index=38702 verified-index=18119749
l2geth-1  | WARN [08-17|02:46:24.356] Switch sync mode from fast sync to full sync
l2geth-1  | INFO [08-17|02:46:24.366] Backend Config                           max-calldata-size=40000 gas-limit=1100000000 is-verifier=false using-ovm=true ctx.ExtRPCEnabled() =true
l2geth-1  | INFO [08-17|02:46:24.367] Miner newWorkLoop startCh                interrupt=1
l2geth-1  | INFO [08-17|02:46:24.367] Dial to a new proxy rpc client           url=https://andromeda.metis.io
l2geth-1  | INFO [08-17|02:46:24.464] New local node record                    seq=2 id=9cd8113907942c86 ip=127.0.0.1 udp=30303 tcp=30303
l2geth-1  | INFO [08-17|02:46:24.465] Started P2P networking                   self=enode://99e900939ebd368ab91c58989c81531ab864a438af6ece3750cbdc720670142c920623226c07329a9e8f02a77e94d841b996edb7b14c71684d0fa5589eef8ba3@127.0.0.1:30303
l2geth-1  | INFO [08-17|02:46:24.466] IPC endpoint opened                      url=/data/geth.ipc
l2geth-1  | INFO [08-17|02:46:24.466] HTTP endpoint opened                     url=http://0.0.0.0:8545        cors=* vhosts=*
l2geth-1  | INFO [08-17|02:46:24.467] WebSocket endpoint opened                url=ws://[::]:8546
l2geth-1  | INFO [08-17|02:46:27.368] Miner newWorkLoop time.C                 seqModel=true mpcEnabled=true isRunning=false resubmit=true
l2geth-1  | INFO [08-17|02:46:29.945] New local node record                    seq=3 id=9cd8113907942c86 ip=54.65.6.185 udp=30303 tcp=30303
l2geth-1  | INFO [08-17|02:49:13.935] New local node record                    seq=4 id=9cd8113907942c86 ip=54.65.6.185 udp=22551 tcp=30303
l2geth-1  | INFO [08-17|02:59:52.266] New local node record                    seq=5 id=9cd8113907942c86 ip=54.65.6.185 udp=57668 tcp=30303

this is the full log, no more logs after the New local node record lines

l1dtl log:

l1dtl-1  | {"level":30,"time":1723864580107,"usingL2ChainId":1088,"latestBatch":{"index":42774,"root":"0x3243f0c3e4c687b2cd5a445ab226db130396c4f4fd6ed729b7e7a4a8df14cd7d","size":10000,"prevTotalElements":16482430,"extraData":"","blockNumber":19630019,"timestamp":1712809907,"submitter":"0x1A9da0aedA630dDf2748a453BF6d92560762D914","l1TransactionHash":"0x5944d72e4d05c5c9317719e93d17e8fcabea561dffa3f8820e4e5b9b22738f66"},"stateLatestBatch":null,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
l1dtl-1  | {"level":30,"time":1723864580107,"highestSyncedL1Block":20545587,"targetL1Block":20545588,"highestSyncedL1BatchIndex":42774,"inboxAddress":"0xff00000000000000000000000000000000001088","inboxSender":"0x1a9da0aeda630ddf2748a453bf6d92560762d914","inboxBatchStart":42647,"useBatchInbox":false,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
l1dtl-1  | {"level":30,"time":1723864580111,"msg":"Reading from local CanonicalTransactionChain, chainId is 1"}
l1dtl-1  | {"level":30,"time":1723864580111,"msg":"Read cached contract address for CanonicalTransactionChain from 0 to 20545588, get 0x56a76bcC92361f6DF8D75476feD8843EdC70e1C9"}

l1dtl-1  | {"level":30,"time":1723864590118,"usingL2ChainId":1088,"latestBatch":{"index":42774,"root":"0x3243f0c3e4c687b2cd5a445ab226db130396c4f4fd6ed729b7e7a4a8df14cd7d","size":10000,"prevTotalElements":16482430,"extraData":"","blockNumber":19630019,"timestamp":1712809907,"submitter":"0x1A9da0aedA630dDf2748a453BF6d92560762D914","l1TransactionHash":"0x5944d72e4d05c5c9317719e93d17e8fcabea561dffa3f8820e4e5b9b22738f66"},"stateLatestBatch":null,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
l1dtl-1  | {"level":30,"time":1723864590118,"highestSyncedL1Block":20545588,"targetL1Block":20545589,"highestSyncedL1BatchIndex":42774,"inboxAddress":"0xff00000000000000000000000000000000001088","inboxSender":"0x1a9da0aeda630ddf2748a453bf6d92560762d914","inboxBatchStart":42647,"useBatchInbox":false,"msg":"Synchronizing events from Layer 1 (Ethereum)"}
l1dtl-1  | {"level":30,"time":1723864590122,"msg":"Reading from local CanonicalTransactionChain, chainId is 1"}
l1dtl-1  | {"level":30,"time":1723864590122,"msg":"Read cached contract address for CanonicalTransactionChain from 0 to 20545589, get 0x56a76bcC92361f6DF8D75476feD8843EdC70e1C9"}

l2geth.env and l1dtl.env are identical with the latest in this repo

ericlee42 commented 1 month ago

duplicated #10