Skip to content

Taiko not syncing properly #9280

@stdevMac

Description

@stdevMac

Description
We are trying to fetch state before finishing snap sync

Steps to Reproduce
In order to replicate the behavior, please provide a detailed list of steps:

  1. Run a Taiko Node
  2. After some time of snap sync, without finish, we will see errors that we are trying to fetch state.

Actual behavior
We are trying to fetch the state before finalizing the snap sync

Expected behavior
Sync, and then fetch the state

Desktop (please complete the following information):

  • Any

Additional context
Please provide any additional context about the problem.

Logs

08 Sep 09:51:19 | Processed             2233673         |       25.1 ms  | slot             25 ms |:fuelpump: Gas gwei: 0.03 .. 0.03 (0.09) .. 1.12
08 Sep 09:51:19 |  Block    0.0000 ETH     1.13 MGas    |       17   txs | calls         85 ( 10) | sload     169 | sstore     46 | create   0
08 Sep 09:51:19 |  Block throughput       45.19 MGas/s  |      677.1 tps |            39.83 Blk/s | exec code cache     194 | new      0 | ops      56,210
08 Sep 09:51:21 | Setting state sync state root to 2233641 0x0d193e2e409f076292dae272a880f898d2dc02559f546fa41a95b82781ed92c9
08 Sep 09:51:21 | Collecting trie stats and verifying that no nodes are missing staring from block Hash: 0x7e18a611dd6b22330beeee95dac3e41178e30e0e28ff741ea2c981f465e709f1
Number: 2233641
Parent: 0x95f2381ae02c734afb335ee3954ec00448199e8efd4db272fa352b47d509b6f9
Beneficiary: 0x5f62d006c10c009ff50c878cd6157ac861c99990
Gas Limit: 241000000
Gas Used: 206270
Timestamp: 1757324885
Extra Data: 000000000000000000000000000000000000000000000000000000000000004b
Difficulty: 0
Mix Hash: 0x8b7c56ab134ffb9c88bf2c41007a9da0fb004daeb0e6bea4e9aa92adddf2492d
Nonce: 0
Uncles Hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
Tx Root: 0x898811e6952907606b904673960b869bec2bca1d16ea4d8a5f1099f91431c512
Receipts Root: 0x461fdddc5c4fdd3a97754f1017edbf841cdf24387ae5cf9f243adda220ee2b64
State Root: 0x0d193e2e409f076292dae272a880f898d2dc02559f546fa41a95b82781ed92c9
BaseFeePerGas: 25000000
WithdrawalsRoot: 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
IsPostMerge: False
TotalDifficulty: 0
 with state root 0x0d193e2e409f076292dae272a880f898d2dc02559f546fa41a95b82781ed92c9...
08 Sep 09:51:22 | Collected info from 1000002 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:23 | Collected info from 2000004 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:23 | Collected info from 3000005 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:24 | Collected info from 4000007 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:24 | Collected info from 5000007 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:24 | Collected info from 6000006 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:25 | Collected info from 7000008 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:25 | Collected info from 8000010 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:26 | Collected info from 9000013 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:26 | Collected info from 10000012 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:26 | Collected info from 11000014 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:27 | Collected info from 12000015 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:27 | Collected info from 13000015 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:28 | Collected info from 14000017 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:28 | Collected info from 15000018 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:29 | Collected info from 16000019 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:29 | Collected info from 17000021 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:29 | Error response handling JsonRpc Id:149 Method:taiko_l1OriginByID | Code: -32603 Message: not found
08 Sep 09:51:29 | Collected info from 18000022 nodes. Missing CODE 0 STATE 0 STORAGE 0
08 Sep 09:51:30 | Error response handling JsonRpc Id:150 Method:taiko_l1OriginByID | Code: -32603 Message: not found
08 Sep 09:51:30 | Error response handling JsonRpc Id:439 Method:eth_call | Code: -32002 Message: No state available for block 0xe7b1e5b5b5c730816ef2b9627a85c227f6924f27504f1b36cc7328bff79ecc6e
08 Sep 09:51:30 | Error response handling JsonRpc Id:440 Method:eth_call | Code: -32002 Message: No state available for block 0x6a2ae6095e57706304caae2fdce4554395e32d17d6d0d1f0847064f6e7ebf50c
08 Sep 09:51:30 | Error response handling JsonRpc Id:441 Method:eth_call | Code: -32002 Message: No state available for block 0xb3193eab165ddc6a4558be2adca7c5b362b20616c920dcb1e1c1c1e8137a9ef3

Metadata

Metadata

Assignees

Labels

taikorelated to the taiko alethia rollup

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions