0xPolygonHermez / cdk-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
35 stars 32 forks source link

Sync stoped after block 13908563 #697

Closed Zheaoli closed 3 months ago

Zheaoli commented 3 months ago
[INFO] [07-03|15:10:27.223] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:10:37.223] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:10:39.347] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=540.2MB sys=2.1GB
[INFO] [07-03|15:10:47.223] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:10:57.223] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:07.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:17.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:27.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:32.203] [p2p] GoodPeers
[WARN] [07-03|15:11:32.847] Served                                   conn=127.0.0.1:39120 method=eth_call reqid=813 t=413.591µs err="execution reverted: Multicall2 aggregate: call failed" errdata=0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000214d756c746963616c6c32206167677265676174653a2063616c6c206661696c656400000000000000000000000000000000000000000000000000000000000000
[INFO] [07-03|15:11:37.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:39.347] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=825.8MB sys=2.1GB
[INFO] [07-03|15:11:47.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:11:57.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:12:07.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:12:17.224] [3/16 Batches] Waiting for at least one new block.
[INFO] [07-03|15:12:27.224] [3/16 Batches] Waiting for at least one new block.

Current version is 1.0.10, Should we upgrade to new version? BTW I'm not sure > 1.1.2 is ready for mainnet now. FYI https://github.com/0xPolygonHermez/cdk-erigon/issues/558#issuecomment-2150429319

mandrigin commented 3 months ago

hey!

after upgrade from Polygon side, zkevm mainnet should use 1.1.x, the current release is https://github.com/0xPolygonHermez/cdk-erigon/releases/tag/v1.1.5.3 (resync needed)

a bit sloppy messaging from Polygon, but overall that is a one-time incompatibility even.t

Zheaoli commented 3 months ago

after upgrade from Polygon side, zkevm mainnet should use 1.1.x, the current release is https://github.com/0xPolygonHermez/cdk-erigon/releases/tag/v1.1.5.3 (resync needed)

[INFO] [07-03|17:53:05.818] [3/16 Batches] Starting stream           startBlock=0
[INFO] [07-03|17:53:05.818] [3/16 Batches] Reading blocks from the datastream. 
[INFO] [07-03|17:53:05.822] [3/16 Batches] Started downloading L2Blocks routine 
[EROR] [07-03|17:53:05.822] [3/16 Batches] Error downloading blocks from datastream error="172.20.178.158:55544 35.189.86.110:6900 Error sending to server: write tcp 172.20.178.158:55544->35.189.86.110:6900: write: broken pipe"
[INFO] [07-03|17:53:05.822] [3/16 Batches] Finished downloading L2Blocks routine 
[INFO] [07-03|17:53:05.822] [3/16 Batches] Finished Batches stage 
[INFO] [07-03|17:53:05.822] [4/16 BlockHashes] Etl transform started 

I'm not sure whether the polygon side have the correct data streamer

Zheaoli commented 3 months ago

Or

[INFO] [07-03|18:13:31.760] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=138.9MB sys=219.6MB
[INFO] [07-03|18:13:35.390] [2/16 L1InfoTree] Processed 35100/35884 logs, 97% complete
[INFO] [07-03|18:13:46.616] [2/16 L1InfoTree] Processed 35350/35884 logs, 98% complete
[INFO] [07-03|18:13:55.636] [2/16 L1InfoTree] Processed 35550/35884 logs, 99% complete
[INFO] [07-03|18:14:07.015] [2/16 L1InfoTree] Processed 35800/35884 logs, 99% complete
[INFO] [07-03|18:14:10.833] [2/16 L1InfoTree] Info tree updates      count=35884
[INFO] [07-03|18:14:10.909] [2/16 L1InfoTree] Finished L1 Info Tree stage
[INFO] [07-03|18:14:10.909] [2/16 L1InfoTree] DONE                   in=16m38.794240479s
[INFO] [07-03|18:14:10.909] [3/16 Batches] Starting batches stage
[INFO] [07-03|18:14:10.909] [3/16 Batches] Starting stream           startBlock=0
[INFO] [07-03|18:14:10.909] [3/16 Batches] Reading blocks from the datastream.
[INFO] [07-03|18:14:10.909] [3/16 Batches] Started downloading L2Blocks routine
[EROR] [07-03|18:14:11.136] [3/16 Batches] Error downloading blocks from datastream error="after start command error: got Result error code 4: Bad from bookmark"
[INFO] [07-03|18:14:11.136] [3/16 Batches] Finished downloading L2Blocks routine
[INFO] [07-03|18:14:11.136] [3/16 Batches] Finished Batches stage
[INFO] [07-03|18:14:11.136] [4/16 BlockHashes] Etl transform started
[INFO] [07-03|18:14:11.136] [4/16 BlockHashes] Nothing new to transform
[INFO] [07-03|18:14:11.136] [4/16 BlockHashes] Etl transform ended
mandrigin commented 3 months ago

that is 1.1.5.3?

Zheaoli commented 3 months ago

that is 1.1.5.3?

yes!

Zheaoli commented 3 months ago

that is 1.1.5.3?

[INFO] [07-04|10:08:40.931] logging to file system                   log dir=/home/erigon/.local/share/erigon/logs file prefix=erigon log level=info json=false
[INFO] [07-04|10:08:40.949] logging to file system                   log dir=/home/erigon/.local/share/erigon/logs file prefix=cdk-erigon log level=info json=false
[INFO] [07-04|10:08:40.949] Build info                               git_branch=HEAD git_tag=v1.1.5.3-dirty git_commit=9686784d4b4a077cc249509b4a630282cee6e70d
[INFO] [07-04|10:08:40.949] Poseidon hashing                         Accelerated=true
[INFO] [07-04|10:08:40.949] Starting Erigon on                       devnet=hermez-mainnet
[INFO] [07-04|10:08:40.950] Maximum peer count                       ETH=100 total=100
[INFO] [07-04|10:08:40.950] starting HTTP APIs                       APIs=eth,debug,net,trace,web3,erigon,zkevm
[INFO] [07-04|10:08:40.951] torrent verbosity                        level=WRN
[INFO] [07-04|10:08:43.055] Set global gas cap                       cap=50000000
[INFO] [07-04|10:08:43.058] [Downloader] Runnning with               ipv6-enabled=true ipv4-enabled=true download.rate=16mb upload.rate=4mb
[INFO] [07-04|10:08:43.058] Opening Database                         label=chaindata path=/home/erigon/.local/share/erigon/chaindata
[INFO] [07-04|10:08:43.061] Initialised chain configuration          config="{ChainID: 1101, Homestead: 0, DAO: 0, Tangerine Whistle: 0, Spurious Dragon: 0, Byzantium: 0, Constantinople: 0, Petersburg: 0, Istanbul: 0, Muir Glacier: 0, Berlin: 0, London: 18446744073709551615, Arrow Glacier: 9999999999999999999999999999999999999999999999999, Gray Glacier: 9999999999999999999999999999999999999999999999999, Terminal Total Difficulty: 58750000000000000000000, Merge Netsplit: <nil>, Shanghai: 18446744073709551615, Cancun: 18446744073709551615, Prague: 18446744073709551615, Engine: ethash}" genesis=0x81005434635456a16f74ff7023fbe0bf423abbc8a8deb093ffff455c0ad3b741
[INFO] [07-04|10:08:43.061] Effective                                prune_flags= snapshot_flags= history.v3=false
[INFO] [07-04|10:08:43.066] Initialising Ethereum protocol           network=1101
[INFO] [07-04|10:08:43.066] Disk storage enabled for ethash DAGs     dir=/home/erigon/.local/share/erigon/ethash-dags count=2
[INFO] [07-04|10:08:43.076] Starting private RPC server              on=localhost:9091
[INFO] [07-04|10:08:43.078] new subscription to logs established
[INFO] [07-04|10:08:43.086] Starting datastream client...
[INFO] [07-04|09:01:19.235] [16/16 Finish] Finished
[INFO] [07-04|09:01:19.235] [1/16 L1Syncer] Starting L1 sync stage
[INFO] [07-04|09:01:19.235] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 0/3335325 (0%)
[INFO] [07-04|09:01:19.235] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 0/3335325 (0%)
[INFO] [07-04|09:01:19.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1260000/3335325 (37%)
[INFO] [07-04|09:01:29.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1300000/3335325 (38%)
[INFO] [07-04|09:01:39.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1360000/3335325 (40%)
[INFO] [07-04|09:01:49.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1400000/3335325 (41%)
[INFO] [07-04|09:01:59.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1440000/3335325 (43%)
[INFO] [07-04|09:02:09.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1480000/3335325 (44%)
[INFO] [07-04|09:02:13.205] [p2p] GoodPeers
[INFO] [07-04|09:02:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=128.1MB sys=231.8MB
[INFO] [07-04|09:02:19.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1520000/3335325 (45%)
[INFO] [07-04|09:02:29.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1540000/3335325 (46%)
[INFO] [07-04|09:02:39.860] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1580000/3335325 (47%)
[INFO] [07-04|09:02:49.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1580000/3335325 (47%)
[INFO] [07-04|09:02:59.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1600000/3335325 (47%)
[INFO] [07-04|09:03:09.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1600000/3335325 (47%)
[INFO] [07-04|09:03:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=126.3MB sys=231.8MB
[INFO] [07-04|09:03:19.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1600000/3335325 (47%)
[INFO] [07-04|09:03:29.861] [1/16 L1Syncer] L1 Blocks processed progress (amounts): 1600000/3335325 (47%)
[EROR] [07-04|09:03:36.959] Error querying blocks                    err="504 Gateway Timeout: {\"jsonrpc\":\"2.0\",\"error\":{\"code\":-41002,\"message\":\"server error\",\"data\":\"net/http: timeout awaiting response headers\"},\"id\":1}"
[INFO] [07-04|09:03:36.959] [1/16 L1Syncer] Saving L1 syncer progress latestCheckedBlock=16896699 newVerificationsCount=8292 newSequencesCount=36968
[INFO] [07-04|09:03:36.959] [1/16 L1Syncer]                          highestVerificationBatchNo=1184433
[INFO] [07-04|09:03:36.959] [1/16 L1Syncer] Finished L1 sync stage
[INFO] [07-04|09:03:36.959] [1/16 L1Syncer] DONE                     in=2m17.724020867s
[INFO] [07-04|09:03:36.959] [2/16 L1InfoTree] Starting L1 Info Tree stage
[INFO] [07-04|09:03:36.959] [2/16 L1InfoTree] L1 Blocks processed progress (amounts): 700000/3335325 (20%)
[INFO] [07-04|09:03:36.959] [2/16 L1InfoTree] L1 Blocks processed progress (amounts): 760000/3335325 (22%)
[EROR] [07-04|09:03:36.969] Error querying blocks                    err="504 Gateway Timeout: {\"jsonrpc\":\"2.0\",\"error\":{\"code\":-41002,\"message\":\"server error\",\"data\":\"net/http: timeout awaiting response headers\"},\"id\":1}"
[INFO] [07-04|09:03:48.190] [2/16 L1InfoTree] Processed 450/18698 logs, 2% complete
[INFO] [07-04|09:03:57.976] [2/16 L1InfoTree] Processed 850/18698 logs, 4% complete
[INFO] [07-04|09:04:07.437] [2/16 L1InfoTree] Processed 1200/18698 logs, 6% complete
[INFO] [07-04|09:04:13.205] [p2p] GoodPeers
[INFO] [07-04|09:04:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=140.7MB sys=235.8MB
[INFO] [07-04|09:04:18.213] [2/16 L1InfoTree] Processed 1600/18698 logs, 8% complete
[INFO] [07-04|09:04:27.457] [2/16 L1InfoTree] Processed 1950/18698 logs, 10% complete
[INFO] [07-04|09:04:38.142] [2/16 L1InfoTree] Processed 2350/18698 logs, 12% complete
[INFO] [07-04|09:04:47.201] [2/16 L1InfoTree] Processed 2700/18698 logs, 14% complete
[INFO] [07-04|09:04:57.832] [2/16 L1InfoTree] Processed 3150/18698 logs, 16% complete
[INFO] [07-04|09:05:07.175] [2/16 L1InfoTree] Processed 3500/18698 logs, 18% complete
[INFO] [07-04|09:05:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=161.4MB sys=235.8MB
[INFO] [07-04|09:05:17.826] [2/16 L1InfoTree] Processed 3900/18698 logs, 20% complete
[INFO] [07-04|09:05:27.957] [2/16 L1InfoTree] Processed 4300/18698 logs, 22% complete
[INFO] [07-04|09:05:37.092] [2/16 L1InfoTree] Processed 4650/18698 logs, 24% complete
[INFO] [07-04|09:05:48.034] [2/16 L1InfoTree] Processed 5050/18698 logs, 27% complete
[INFO] [07-04|09:05:57.561] [2/16 L1InfoTree] Processed 5400/18698 logs, 28% complete
[INFO] [07-04|09:06:07.201] [2/16 L1InfoTree] Processed 5750/18698 logs, 30% complete
[INFO] [07-04|09:06:13.209] [p2p] GoodPeers
[INFO] [07-04|09:06:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=98.1MB sys=235.8MB
[INFO] [07-04|09:06:17.435] [2/16 L1InfoTree] Processed 6100/18698 logs, 32% complete
[INFO] [07-04|09:06:27.822] [2/16 L1InfoTree] Processed 6450/18698 logs, 34% complete
[INFO] [07-04|09:06:37.321] [2/16 L1InfoTree] Processed 6800/18698 logs, 36% complete
[INFO] [07-04|09:06:47.590] [2/16 L1InfoTree] Processed 7150/18698 logs, 38% complete
[INFO] [07-04|09:06:58.306] [2/16 L1InfoTree] Processed 7500/18698 logs, 40% complete
[INFO] [07-04|09:07:07.665] [2/16 L1InfoTree] Processed 7800/18698 logs, 41% complete
[INFO] [07-04|09:07:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=150.2MB sys=235.8MB
[INFO] [07-04|09:07:17.275] [2/16 L1InfoTree] Processed 8100/18698 logs, 43% complete
[INFO] [07-04|09:07:28.516] [2/16 L1InfoTree] Processed 8450/18698 logs, 45% complete
[INFO] [07-04|09:07:37.836] [2/16 L1InfoTree] Processed 8750/18698 logs, 46% complete
[INFO] [07-04|09:07:48.498] [2/16 L1InfoTree] Processed 9100/18698 logs, 48% complete
[INFO] [07-04|09:07:57.137] [2/16 L1InfoTree] Processed 9350/18698 logs, 50% complete
[INFO] [07-04|09:08:08.461] [2/16 L1InfoTree] Processed 9700/18698 logs, 51% complete
[INFO] [07-04|09:08:13.205] [p2p] GoodPeers
[INFO] [07-04|09:08:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=178.1MB sys=244.1MB
[INFO] [07-04|09:08:17.739] [2/16 L1InfoTree] Processed 10000/18698 logs, 53% complete
[INFO] [07-04|09:08:27.194] [2/16 L1InfoTree] Processed 10300/18698 logs, 55% complete
[INFO] [07-04|09:08:37.081] [2/16 L1InfoTree] Processed 10600/18698 logs, 56% complete
[INFO] [07-04|09:08:48.552] [2/16 L1InfoTree] Processed 10950/18698 logs, 58% complete
[INFO] [07-04|09:08:58.263] [2/16 L1InfoTree] Processed 11250/18698 logs, 60% complete
[INFO] [07-04|09:09:07.045] [2/16 L1InfoTree] Processed 11500/18698 logs, 61% complete
[INFO] [07-04|09:09:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=114.7MB sys=256.1MB
[INFO] [07-04|09:09:17.909] [2/16 L1InfoTree] Processed 11800/18698 logs, 63% complete
[INFO] [07-04|09:09:28.064] [2/16 L1InfoTree] Processed 12100/18698 logs, 64% complete
[INFO] [07-04|09:09:38.256] [2/16 L1InfoTree] Processed 12400/18698 logs, 66% complete
[INFO] [07-04|09:09:48.366] [2/16 L1InfoTree] Processed 12700/18698 logs, 67% complete
[INFO] [07-04|09:09:57.545] [2/16 L1InfoTree] Processed 12950/18698 logs, 69% complete
[INFO] [07-04|09:10:08.259] [2/16 L1InfoTree] Processed 13250/18698 logs, 70% complete
[INFO] [07-04|09:10:13.205] [p2p] GoodPeers
[INFO] [07-04|09:10:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=138.8MB sys=256.1MB
[INFO] [07-04|09:10:17.140] [2/16 L1InfoTree] Processed 13500/18698 logs, 72% complete
[INFO] [07-04|09:10:27.776] [2/16 L1InfoTree] Processed 13800/18698 logs, 73% complete
[INFO] [07-04|09:10:37.387] [2/16 L1InfoTree] Processed 14050/18698 logs, 75% complete
[INFO] [07-04|09:10:47.111] [2/16 L1InfoTree] Processed 14300/18698 logs, 76% complete
[INFO] [07-04|09:10:58.551] [2/16 L1InfoTree] Processed 14600/18698 logs, 78% complete
[INFO] [07-04|09:11:07.975] [2/16 L1InfoTree] Processed 14850/18698 logs, 79% complete
[INFO] [07-04|09:11:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=124.2MB sys=256.1MB
[INFO] [07-04|09:11:17.655] [2/16 L1InfoTree] Processed 15100/18698 logs, 80% complete
[INFO] [07-04|09:11:28.728] [2/16 L1InfoTree] Processed 15400/18698 logs, 82% complete
[INFO] [07-04|09:11:38.023] [2/16 L1InfoTree] Processed 15650/18698 logs, 83% complete
[INFO] [07-04|09:11:47.565] [2/16 L1InfoTree] Processed 15900/18698 logs, 85% complete
[INFO] [07-04|09:11:57.069] [2/16 L1InfoTree] Processed 16150/18698 logs, 86% complete
[INFO] [07-04|09:12:08.714] [2/16 L1InfoTree] Processed 16450/18698 logs, 87% complete
[INFO] [07-04|09:12:13.205] [p2p] GoodPeers
[INFO] [07-04|09:12:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=147.2MB sys=260.1MB
[INFO] [07-04|09:12:17.130] [2/16 L1InfoTree] Processed 16650/18698 logs, 89% complete
[INFO] [07-04|09:12:27.667] [2/16 L1InfoTree] Processed 16900/18698 logs, 90% complete
[INFO] [07-04|09:12:37.726] [2/16 L1InfoTree] Processed 17150/18698 logs, 91% complete
[INFO] [07-04|09:12:47.923] [2/16 L1InfoTree] Processed 17400/18698 logs, 93% complete
[INFO] [07-04|09:12:58.381] [2/16 L1InfoTree] Processed 17650/18698 logs, 94% complete
[INFO] [07-04|09:13:08.551] [2/16 L1InfoTree] Processed 17900/18698 logs, 95% complete
[INFO] [07-04|09:13:13.217] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=219.5MB sys=264.1MB
[INFO] [07-04|09:13:17.032] [2/16 L1InfoTree] Processed 18100/18698 logs, 96% complete
[INFO] [07-04|09:13:28.131] [2/16 L1InfoTree] Processed 18350/18698 logs, 98% complete
[INFO] [07-04|09:13:37.312] [2/16 L1InfoTree] Processed 18550/18698 logs, 99% complete
[INFO] [07-04|09:13:43.592] [2/16 L1InfoTree] Info tree updates      count=18698
[INFO] [07-04|09:13:43.592] [2/16 L1InfoTree] Finished L1 Info Tree stage
[INFO] [07-04|09:13:43.592] [2/16 L1InfoTree] DONE                   in=10m6.632821994s
[INFO] [07-04|09:13:43.592] [3/16 Batches] Starting batches stage
[INFO] [07-04|09:13:43.592] [3/16 Batches] Starting stream           startBlock=0
[INFO] [07-04|09:13:43.592] [3/16 Batches] Reading blocks from the datastream.
[INFO] [07-04|09:13:43.594] [3/16 Batches] Started downloading L2Blocks routine
[EROR] [07-04|09:13:43.594] [3/16 Batches] Error downloading blocks from datastream error="172.21.61.223:49348 35.189.86.110:6900 Error sending to server: write tcp 172.21.61.223:49348->35.189.86.110:6900: write: broken pipe"
[INFO] [07-04|09:13:43.594] [3/16 Batches] Finished downloading L2Blocks routine
[INFO] [07-04|09:13:43.595] [3/16 Batches] Finished Batches stage
[INFO] [07-04|09:13:43.595] [4/16 BlockHashes] Etl transform started
[INFO] [07-04|09:13:43.595] [4/16 BlockHashes] Nothing new to transform
[INFO] [07-04|09:13:43.595] [4/16 BlockHashes] Etl transform ended
mandrigin commented 3 months ago

yep, polygon is fixing it

mandrigin commented 3 months ago

should be fixed now