Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdk-erigon for zkEVM not working #46

Closed
xavier-romero opened this issue Jan 9, 2024 · 7 comments
Closed

cdk-erigon for zkEVM not working #46

xavier-romero opened this issue Jan 9, 2024 · 7 comments

Comments

@xavier-romero
Copy link

System information

  • cdk-erigon version 2.43.0-dev-9584b25b
  • Ubuntu 22.04.3 LTS
  • Branch zkevm commit 9584b25

Config file hermezconfig-mainnet.yaml:

datadir : './datadirs/hermez-mainnet'
chain : "hermez-mainnet"
http : true
private.api.addr : "localhost:9091"
zkevm.l2-chain-id: 1101
zkevm.l2-sequencer-rpc-url: "https://zkevm-rpc.com"
zkevm.l2-datastreamer-url: "stream.zkevm-rpc.com:6900"
zkevm.l1-chain-id: 1
zkevm.l1-rpc-url: "https://eth-mainnet.g.alchemy.com/v2/**********************"
zkevm.l1-contract-address: "0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2"
zkevm.l1-block-range: 20000
zkevm.l1-query-delay: 6000
zkevm.l1-matic-contract-address: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0"
zkevm.l1-ger-manager-contract-address: "0x580bda1e7A0CFAe92Fa7F6c20A3794F169CE3CFb"
zkevm.l1-first-block: 16896700
zkevm.rpc-ratelimit: 250

externalcl: true
http.api : ["eth","debug","net","trace","web3","erigon","zkevm"]

Command:

make cdk-erigon
./build/bin/cdk-erigon --config="./hermezconfig-mainnet.yaml"

Expected behaviour

Node running with no errors

Actual behaviour

Node not working.

  • First I get a significant WARN:
    WARN[01-09|18:07:12.263] [6/14 Execution] Execution failed block=9026542 hash=0xfd7f6ce67781c21b75621ab51171be8eafeec07318796a2eaac45dac4a3e96c9 err="could not apply tx 0 from block 9026542 [0x713c3a87b51c405906d2b8115163d5d8183b5fc695b2b65800cdfb452d70ae2e]: insufficient funds for gas * price + value: address 0x81b260fcC5480795d4CF09245163d1F14c81A84c have 5392886211548920 want 5420073186710353"
  • Then I get into a loop with this same error repeating forever:
    EROR[01-09|18:07:14.245] Staged Sync err="[2/14 Batches] missing block number. Last block number 9026541, current 9116312" INFO[01-09|18:07:32.491] [2/14 Batches] Starting batches stage INFO[01-09|18:07:32.491] [2/14 Batches] Reading blocks from the datastream. INFO[01-09|18:07:32.492] [2/14 Batches] Finished Batches stage EROR[01-09|18:07:32.492] Staged Sync err="[2/14 Batches] missing block number. Last block number 9026541, current 9116313" INFO[01-09|18:07:50.908] [2/14 Batches] Starting batches stage INFO[01-09|18:07:50.908] [2/14 Batches] Reading blocks from the datastream. INFO[01-09|18:07:50.908] [2/14 Batches] Finished Batches stage EROR[01-09|18:07:50.908] Staged Sync err="[2/14 Batches] missing block number. Last block number 9026541, current 9116314" INFO[01-09|18:07:59.417] [txpool] stat pending=0 baseFee=0 queued=0 alloc=61.2MB sys=214.4MB INFO[01-09|18:08:12.915] [2/14 Batches] Starting batches stage INFO[01-09|18:08:12.915] [2/14 Batches] Reading blocks from the datastream. INFO[01-09|18:08:12.916] [2/14 Batches] Finished Batches stage

Steps to reproduce the behaviour

Executing the described steps.

@revitteth
Copy link
Collaborator

@xavier-romero hi - I think this problem is resolved in latest commits on zkevm branch, please let me know if the problem persists.

@xavier-romero
Copy link
Author

@revitteth the issue persists.
I'm on the last commit (6464d84) from Fri Jan 12 16:24:19 2024 +0400
I can confirm the binary matches taht commit:
INFO[01-13|22:21:26.121] Build info git_branch=zkevm git_tag=v0.0.1-alpha-14-g6464d84a8c git_commit=6464d84a8c252425de656dbc2ef918dac624bfda

However, I've still the same error.
EROR[01-13|22:28:11.310] Staged Sync err="[2/15 Batches] missing block number. Last block number 9026541, current 9224923"

Full log:

INFO[01-13|22:21:26.116] logging to file system                   log dir=/home/xavi/.local/share/erigon/logs file prefix=erigon log level=info json=false
INFO[01-13|22:21:26.121] Build info                               git_branch=zkevm git_tag=v0.0.1-alpha-14-g6464d84a8c git_commit=6464d84a8c252425de656dbc2ef918dac624bfda
INFO[01-13|22:21:26.121] Starting Erigon on                       devnet=hermez-mainnet
INFO[01-13|22:21:26.122] Maximum peer count                       ETH=100 total=100
INFO[01-13|22:21:26.122] starting HTTP APIs                       APIs=eth,debug,net,trace,web3,erigon,zkevm
INFO[01-13|22:21:26.122] torrent verbosity                        level=WRN
INFO[01-13|22:21:28.225] Set global gas cap                       cap=50000000
INFO[01-13|22:21:28.226] [Downloader] Runnning with               ipv6-enabled=true ipv4-enabled=true download.rate=16mb upload.rate=4mb
INFO[01-13|22:21:28.232] Opening Database                         label=chaindata path=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/chaindata
INFO[01-13|22:21:28.246] 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, Mordor: 5575557}" genesis=0x81005434635456a16f74ff7023fbe0bf423abbc8a8deb093ffff455c0ad3b741
INFO[01-13|22:21:28.246] Effective                                prune_flags= snapshot_flags= history.v3=false
INFO[01-13|22:21:28.250] Initialising Ethereum protocol           network=1101
INFO[01-13|22:21:28.250] Disk storage enabled for ethash DAGs     dir=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/ethash-dags count=2
INFO[01-13|22:21:58.250] [downloader] recover headers from db     left=65536
INFO[01-13|22:22:28.251] [downloader] recover headers from db     left=65536
INFO[01-13|22:22:58.250] [downloader] recover headers from db     left=65536
INFO[01-13|22:23:28.251] [p2p] GoodPeers 
INFO[01-13|22:23:28.251] [downloader] recover headers from db     left=65536
INFO[01-13|22:23:58.251] [downloader] recover headers from db     left=65536
INFO[01-13|22:24:28.250] [downloader] recover headers from db     left=65536
INFO[01-13|22:24:58.251] [downloader] recover headers from db     left=65536
INFO[01-13|22:25:28.250] [p2p] GoodPeers 
INFO[01-13|22:25:28.251] [downloader] recover headers from db     left=65536
INFO[01-13|22:25:58.250] [downloader] recover headers from db     left=65536
INFO[01-13|22:26:28.250] [downloader] recover headers from db     left=65536
INFO[01-13|22:26:42.925] Starting private RPC server              on=localhost:9091
INFO[01-13|22:26:42.925] new subscription to logs established 
INFO[01-13|22:26:42.926] Starting datastream client... 
INFO[01-13|22:26:42.936] [txpool] Started 
INFO[01-13|22:26:43.002] Datastream client initialized... 
INFO[01-13|22:26:43.003] rpc filters: subscribing to Erigon events 
INFO[01-13|22:26:43.003] new subscription to newHeaders established 
INFO[01-13|22:26:43.003] New txs subscriber joined 
INFO[01-13|22:26:43.004] Reading JWT secret                       path=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/jwt.hex
INFO[01-13|22:26:43.004] HTTP endpoint opened for Engine API      url=127.0.0.1:8551 ws=true ws.compression=true
INFO[01-13|22:26:43.005] HTTP endpoint opened                     url=127.0.0.1:8545 ws=false ws.compression=true grpc=false
INFO[01-13|22:26:43.008] Started P2P networking                   version=67 self=enode://e42b07899bea117b3395fc048f24261d05304d9c366645b9384382f72f9010990223c1e0b85ed257d7adfd6fdf00fdd7504d8fc7d18bbe81989229e7c50b0db3@127.0.0.1:0 name=erigon/v2.43.0-dev-6464d84a/linux-amd64/go1.20.5
INFO[01-13|22:26:43.009] Started P2P networking                   version=68 self=enode://e42b07899bea117b3395fc048f24261d05304d9c366645b9384382f72f9010990223c1e0b85ed257d7adfd6fdf00fdd7504d8fc7d18bbe81989229e7c50b0db3@127.0.0.1:0 name=erigon/v2.43.0-dev-6464d84a/linux-amd64/go1.20.5
INFO[01-13|22:26:43.014] [1/15 L1Syncer] Starting L1 sync stage 
INFO[01-13|22:26:43.014] Starting L1 syncer thread 
INFO[01-13|22:26:53.731] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 2260000/9974103 (22%) 
INFO[01-13|22:27:03.732] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 4600000/9974103 (46%) 
INFO[01-13|22:27:13.732] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 7220000/9974103 (72%) 
INFO[01-13|22:27:23.731] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 8960000/9974103 (89%) 
INFO[01-13|22:27:28.250] [p2p] GoodPeers 
INFO[01-13|22:27:31.497] [1/15 L1Syncer] Saving L1 syncer progress latestCheckedBlock=19000644 newVerificationsCount=11376 newSequencesCount=50691
INFO[01-13|22:27:31.497] [1/15 L1Syncer]                          highestVerificationBatchNo=1748041
INFO[01-13|22:27:36.592] [1/15 L1Syncer] Finished L1 sync stage  
INFO[01-13|22:27:36.592] [2/15 Batches] Starting batches stage 
INFO[01-13|22:27:36.592] [2/15 Batches] Starting stream           startBlock=9026541
INFO[01-13|22:27:36.592] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-13|22:27:36.592] [2/15 Batches] Started downloading L2Blocks routine 
INFO[01-13|22:27:42.929] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=59.4MB sys=142.9MB
INFO[01-13|22:27:46.592] [2/15 Batches] Downloaded blocks from datastream progress: 35224 
INFO[01-13|22:27:56.592] [2/15 Batches] Downloaded blocks from datastream progress: 113953 
INFO[01-13|22:28:05.503] [2/15 Batches] No new blocks in 1646 miliseconds. Ending the stage. lastBlockHeight=9224922
INFO[01-13|22:28:05.503] [2/15 Batches] Total blocks read: 198381 
INFO[01-13|22:28:05.503] [2/15 Batches] Finished writing blocks   blocksWritten=198381 elapsed=28.910883122s
INFO[01-13|22:28:05.503] [2/15 Batches] Saving stage progress     lastBlockHeight=9224922
INFO[01-13|22:28:06.593] [2/15 Batches] Downloaded blocks from datastream progress: 198381 
INFO[01-13|22:28:06.788] [2/15 Batches] Finished Batches stage 
INFO[01-13|22:28:06.788] [5/15 Senders] Started                   from=9026541 to=9224922
INFO[01-13|22:28:08.225] [6/15 Execution] Blocks execution        from=9026541 to=9224922
WARN[01-13|22:28:08.228] [6/15 Execution] Execution failed        block=9026542 hash=0xfd7f6ce67781c21b75621ab51171be8eafeec07318796a2eaac45dac4a3e96c9 err="could not apply tx 0 from block 9026542 [0x713c3a87b51c405906d2b8115163d5d8183b5fc695b2b65800cdfb452d70ae2e]: insufficient funds for gas * price + value: address 0x81b260fcC5480795d4CF09245163d1F14c81A84c have 5392886211548920 want 5420073186710353"
INFO[01-13|22:28:08.228] UnwindTo                                 block=9026541 bad_block_hash=0xfd7f6ce67781c21b75621ab51171be8eafeec07318796a2eaac45dac4a3e96c9
INFO[01-13|22:28:08.228] [6/15 Execution] Commiting DB transaction... block=9026542
INFO[01-13|22:28:08.228] [6/15 Execution] Completed on            block=9026542
INFO[01-13|22:28:08.229] [2/15 Batches] Unwinding batches stage from block number fromBlock=9026541 toBlock=9224922
INFO[01-13|22:28:09.831] [2/15 Batches] Deleted headers, bodies, forkIds and blockBatches. 
INFO[01-13|22:28:09.831] [2/15 Batches] Saving stage progress     fromBlock=9026541
INFO[01-13|22:28:10.722] [2/15 Batches] Unwinding batches complete 
INFO[01-13|22:28:10.722] [6/15 Execution] Unwind Execution        from=9026542 to=9026541
INFO[01-13|22:28:10.727] Timings (slower than 50ms)               L1Syncer=53.578s Batches=30.195s Senders=1.436s Unwind Batches=2.493s
INFO[01-13|22:28:10.727] [1/15 L1Syncer] Starting L1 sync stage 
INFO[01-13|22:28:10.728] [1/15 L1Syncer] Saving L1 syncer progress latestCheckedBlock=19000651 newVerificationsCount=0 newSequencesCount=2
INFO[01-13|22:28:11.309] [1/15 L1Syncer] Finished L1 sync stage  
INFO[01-13|22:28:11.310] [2/15 Batches] Starting batches stage 
INFO[01-13|22:28:11.310] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-13|22:28:11.310] [2/15 Batches] Finished Batches stage 
EROR[01-13|22:28:11.310] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9224923"
INFO[01-13|22:28:29.377] [2/15 Batches] Starting batches stage 
INFO[01-13|22:28:29.378] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-13|22:28:29.378] [2/15 Batches] Finished Batches stage 
EROR[01-13|22:28:29.378] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9224924"

@revitteth
Copy link
Collaborator

Hi @xavier-romero I believe this PR: #56 which is now merged will fix this issue.

@xavier-romero
Copy link
Author

Still the same issue with the latest commit @revitteth

INFO[01-17|13:04:05.565] logging to file system                   log dir=/home/xavi/.local/share/erigon/logs file prefix=erigon log level=info json=false
INFO[01-17|13:04:05.573] Build info                               git_branch=zkevm git_tag=v0.0.1-alpha-17-g74f75e7e4b git_commit=74f75e7e4b522bc6059e37a88b1b5f5f5d4d5424
INFO[01-17|13:04:05.573] Starting Erigon on                       devnet=hermez-mainnet
INFO[01-17|13:04:05.573] Maximum peer count                       ETH=100 total=100
INFO[01-17|13:04:05.573] starting HTTP APIs                       APIs=eth,debug,net,trace,web3,erigon,zkevm
INFO[01-17|13:04:05.573] torrent verbosity                        level=WRN
INFO[01-17|13:04:07.677] Set global gas cap                       cap=50000000
INFO[01-17|13:04:07.678] [Downloader] Runnning with               ipv6-enabled=true ipv4-enabled=true download.rate=16mb upload.rate=4mb
INFO[01-17|13:04:07.679] Opening Database                         label=chaindata path=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/chaindata
INFO[01-17|13:04:07.697] 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, Mordor: 5575557}" genesis=0x81005434635456a16f74ff7023fbe0bf423abbc8a8deb093ffff455c0ad3b741
INFO[01-17|13:04:07.697] Effective                                prune_flags= snapshot_flags= history.v3=false
INFO[01-17|13:04:07.699] Initialising Ethereum protocol           network=1101
INFO[01-17|13:04:07.699] Disk storage enabled for ethash DAGs     dir=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/ethash-dags count=2
INFO[01-17|13:04:37.700] [downloader] recover headers from db     left=65536

INFO[01-17|13:05:07.700] [downloader] recover headers from db     left=65536
INFO[01-17|13:05:37.700] [downloader] recover headers from db     left=65536
INFO[01-17|13:05:41.739] Starting private RPC server              on=localhost:9091
INFO[01-17|13:05:41.740] new subscription to logs established 
INFO[01-17|13:05:41.740] Starting datastream client... 
INFO[01-17|13:05:41.750] [txpool] Started 
INFO[01-17|13:05:41.927] Datastream client initialized... 
INFO[01-17|13:05:41.928] rpc filters: subscribing to Erigon events 
INFO[01-17|13:05:41.928] New txs subscriber joined 
INFO[01-17|13:05:41.928] new subscription to newHeaders established 
INFO[01-17|13:05:41.928] Reading JWT secret                       path=/home/xavi/repos/cdk-erigon/datadirs/hermez-mainnet/jwt.hex
INFO[01-17|13:05:41.938] HTTP endpoint opened for Engine API      url=127.0.0.1:8551 ws=true ws.compression=true
INFO[01-17|13:05:41.938] [1/15 L1Syncer] Starting L1 sync stage 
INFO[01-17|13:05:41.938] HTTP endpoint opened                     url=127.0.0.1:8545 ws=false ws.compression=true grpc=false
INFO[01-17|13:05:41.938] Starting L1 syncer thread 
INFO[01-17|13:05:41.945] Started P2P networking                   version=68 self=enode://e42b07899bea117b3395fc048f24261d05304d9c366645b9384382f72f9010990223c1e0b85ed257d7adfd6fdf00fdd7504d8fc7d18bbe81989229e7c50b0db3@127.0.0.1:0 name=erigon/v2.43.0-dev-74f75e7e/linux-amd64/go1.20.5
INFO[01-17|13:05:41.946] Started P2P networking                   version=67 self=enode://e42b07899bea117b3395fc048f24261d05304d9c366645b9384382f72f9010990223c1e0b85ed257d7adfd6fdf00fdd7504d8fc7d18bbe81989229e7c50b0db3@127.0.0.1:0 name=erigon/v2.43.0-dev-74f75e7e/linux-amd64/go1.20.5
INFO[01-17|13:05:52.929] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 2480000/9999955 (24%) 
INFO[01-17|13:06:02.929] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 5060000/9999955 (50%) 
INFO[01-17|13:06:07.700] [p2p] GoodPeers 
INFO[01-17|13:06:12.928] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 7680000/9999955 (76%) 
INFO[01-17|13:06:22.929] [1/15 L1Syncer] L1 Blocks processed progress (amounts): 9160000/9999955 (91%) 
INFO[01-17|13:06:28.826] [1/15 L1Syncer] Saving L1 syncer progress latestCheckedBlock=19026496 newVerificationsCount=11463 newSequencesCount=51056
INFO[01-17|13:06:28.826] [1/15 L1Syncer]                          highestVerificationBatchNo=1774447
INFO[01-17|13:06:33.941] [1/15 L1Syncer] Finished L1 sync stage  
INFO[01-17|13:06:33.941] [2/15 Batches] Starting batches stage 
INFO[01-17|13:06:33.941] [2/15 Batches] Starting stream           startBlock=9026541
INFO[01-17|13:06:33.941] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-17|13:06:33.941] [2/15 Batches] Started downloading L2Blocks routine 
INFO[01-17|13:06:41.745] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=113.3MB sys=156.2MB
INFO[01-17|13:06:43.942] [2/15 Batches] Downloaded blocks from datastream progress: 34172 
INFO[01-17|13:06:53.942] [2/15 Batches] Downloaded blocks from datastream progress: 55481 
INFO[01-17|13:07:03.942] [2/15 Batches] Downloaded blocks from datastream progress: 85815 
INFO[01-17|13:07:13.942] [2/15 Batches] Downloaded blocks from datastream progress: 162829 
INFO[01-17|13:07:23.942] [2/15 Batches] Downloaded blocks from datastream progress: 217763 
INFO[01-17|13:07:30.965] [2/15 Batches] No new blocks in 501 miliseconds. Ending the stage. lastBlockHeight=9281413
INFO[01-17|13:07:30.965] [2/15 Batches] Total blocks read: 254872 
INFO[01-17|13:07:30.965] [2/15 Batches] Finished writing blocks   blocksWritten=254872 elapsed=57.023945158s
INFO[01-17|13:07:30.965] [2/15 Batches] Saving stage progress     lastBlockHeight=9281413
INFO[01-17|13:07:32.643] [2/15 Batches] Finished Batches stage 
INFO[01-17|13:07:32.647] [5/15 Senders] Started                   from=9026541 to=9281413
INFO[01-17|13:07:35.589] [6/15 Execution] Blocks execution        from=9026541 to=9281413
WARN[01-17|13:07:35.595] [6/15 Execution] Execution failed        block=9026542 hash=0xfd7f6ce67781c21b75621ab51171be8eafeec07318796a2eaac45dac4a3e96c9 err="could not apply tx 0 from block 9026542 [0x713c3a87b51c405906d2b8115163d5d8183b5fc695b2b65800cdfb452d70ae2e]: insufficient funds for gas * price + value: address 0x81b260fcC5480795d4CF09245163d1F14c81A84c have 5392886211548920 want 5420073186710353"
INFO[01-17|13:07:35.595] UnwindTo                                 block=9026541 bad_block_hash=0xfd7f6ce67781c21b75621ab51171be8eafeec07318796a2eaac45dac4a3e96c9
INFO[01-17|13:07:35.596] [6/15 Execution] Commiting DB transaction... block=9026542
INFO[01-17|13:07:35.596] [6/15 Execution] Completed on            block=9026542
INFO[01-17|13:07:35.597] [2/15 Batches] Unwinding batches stage from block number fromBlock=9026541 toBlock=9281413
INFO[01-17|13:07:39.507] [2/15 Batches] Deleted headers, bodies, forkIds and blockBatches. 
INFO[01-17|13:07:39.507] [2/15 Batches] Saving stage progress     fromBlock=9026541
INFO[01-17|13:07:40.650] [2/15 Batches] Unwinding batches complete 
INFO[01-17|13:07:40.650] [6/15 Execution] Unwind Execution        from=9026542 to=9026541
INFO[01-17|13:07:40.655] Timings (slower than 50ms)               L1Syncer=52.003s Batches=58.702s Senders=2.941s Unwind Batches=5.052s
INFO[01-17|13:07:40.656] [1/15 L1Syncer] Starting L1 sync stage 
INFO[01-17|13:07:40.656] [1/15 L1Syncer] Saving L1 syncer progress latestCheckedBlock=19026506 newVerificationsCount=0 newSequencesCount=2
INFO[01-17|13:07:41.318] [1/15 L1Syncer] Finished L1 sync stage  
INFO[01-17|13:07:41.319] [2/15 Batches] Starting batches stage 
INFO[01-17|13:07:41.319] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-17|13:07:41.322] [2/15 Batches] Finished Batches stage 
EROR[01-17|13:07:41.322] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9281414"
INFO[01-17|13:07:41.746] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=91.5MB sys=259.6MB
INFO[01-17|13:08:07.700] [p2p] GoodPeers 
INFO[01-17|13:08:11.323] [downloader] recover headers from db     left=65536
INFO[01-17|13:08:41.322] [downloader] recover headers from db     left=65536
INFO[01-17|13:08:41.746] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=63.3MB sys=259.6MB
INFO[01-17|13:09:09.477] [2/15 Batches] Starting batches stage 
INFO[01-17|13:09:09.477] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-17|13:09:09.477] [2/15 Batches] Finished Batches stage 
EROR[01-17|13:09:09.477] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9281415"
INFO[01-17|13:09:38.405] [2/15 Batches] Starting batches stage 
INFO[01-17|13:09:38.405] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-17|13:09:38.405] [2/15 Batches] Finished Batches stage 
EROR[01-17|13:09:38.405] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9281416"
INFO[01-17|13:09:41.746] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=97.6MB sys=259.6MB
INFO[01-17|13:10:03.008] [2/15 Batches] Starting batches stage 
INFO[01-17|13:10:03.008] [2/15 Batches] Reading blocks from the datastream. 
INFO[01-17|13:10:03.008] [2/15 Batches] Finished Batches stage 
EROR[01-17|13:10:03.008] Staged Sync                              err="[2/15 Batches] missing block number. Last block number 9026541, current 9281417"
INFO[01-17|13:10:07.699] [p2p] GoodPeers 

@revitteth
Copy link
Collaborator

@xavier-romero is that a re-sync or using the datadir from the previous attempt?

@xavier-romero
Copy link
Author

@revitteth I was reusing datadir, I tried to remove datadir and start from scratch and certainly that did fix the issue !

@revitteth
Copy link
Collaborator

@xavier-romero great news I will close the issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants