node icon indicating copy to clipboard operation
node copied to clipboard

Is my node already synced?

Open luoxiandong opened this issue 2 months ago • 1 comments

My base node has run 3days after upgade [v0.12.9]version I get some below result via run curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' -H "Content-Type: application/json" http://localhost:8545:

{"jsonrpc":"2.0","id":0,"result":{"baseFeePerGas":"0x3b9aca00","difficulty":"0x0","extraData":"0x616c6c20796f75722062617365206172652062656c6f6e6720746f20796f752e","gasLimit":"0x1c9c380","gasUsed":"0x0","hash":"0xf712aa9241cc24369b143cf6dce85f0902a9731e70d66818a3a5845b296c73dd","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0x4200000000000000000000000000000000000011","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","number":"0x0","parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x222","stateRoot":"0xb2afcb88cd1d0ab228f0415d99b0fb90a18e8515daf5eb31f55b5c4697e18328","timestamp":"0x648a5ce3","transactions":[],"transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncles":[]}}

This is my docker-compose logs:

node-node-1       | {"t":"2025-10-03T01:57:37.340713157Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0x616f5127ed4c75d8569139f8faa44a7c520b162acf95516588306dfabd8dbef6","number":36333655,"newpayload_time":"14.287ms","fcu2_time":"638.845µs","total_time":"14.927ms","mgas":51.22191,"mgasps":3431.410950669713}
node-node-1       | {"t":"2025-10-03T01:57:37.340746244Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0x616f5127ed4c75d8569139f8faa44a7c520b162acf95516588306dfabd8dbef6:36333655","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456657}
node-execution-1  | INFO [10-03|01:57:37.765] Syncing: chain download in progress      synced=100.00% chain=1.44TiB headers=36,333,[email protected] bodies=36,333,[email protected] receipts=36,333,[email protected] eta=2m13.125s
node-node-1       | {"t":"2025-10-03T01:57:39.323778336Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0x12062391b96c25a20481a3969a0162f457c69ce8162fafc69d2211fe423a1219:36333656"}
node-execution-1  | INFO [10-03|01:57:39.338] Forkchoice requested sync to new head    number=36,333,656 hash=120623..3a1219
node-node-1       | {"t":"2025-10-03T01:57:39.33920909Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0x12062391b96c25a20481a3969a0162f457c69ce8162fafc69d2211fe423a1219","number":36333656,"newpayload_time":"14.697ms","fcu2_time":"686.339µs","total_time":"15.384ms","mgas":53.788767,"mgasps":3496.33198481937}
node-node-1       | {"t":"2025-10-03T01:57:39.33925641Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0x12062391b96c25a20481a3969a0162f457c69ce8162fafc69d2211fe423a1219:36333656","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456659}
node-execution-1  | INFO [10-03|01:57:40.038] Syncing: state healing in progress       accounts=11,686,[email protected]  slots=63,728,[email protected]      [email protected] nodes=294,720,[email protected] pending=38217
node-node-1       | {"t":"2025-10-03T01:57:41.356329713Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0xb23d91c9015d07a113bbf3397d014f59abb5115703cb48037c9913988fa2613d:36333657"}
node-execution-1  | INFO [10-03|01:57:41.370] Forkchoice requested sync to new head    number=36,333,657 hash=b23d91..a2613d
node-node-1       | {"t":"2025-10-03T01:57:41.37089791Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0xb23d91c9015d07a113bbf3397d014f59abb5115703cb48037c9913988fa2613d","number":36333657,"newpayload_time":"13.886ms","fcu2_time":"635.309µs","total_time":"14.523ms","mgas":61.805934,"mgasps":4255.712797538204}
node-node-1       | {"t":"2025-10-03T01:57:41.370932632Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0xb23d91c9015d07a113bbf3397d014f59abb5115703cb48037c9913988fa2613d:36333657","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456661}
node-node-1       | {"t":"2025-10-03T01:57:43.304919679Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0xd57de13efcd7f81e0d74d4c99dac7e946a451bb0b3d6f92ddbb7b36e7abe9155:36333658"}
node-execution-1  | INFO [10-03|01:57:43.317] Forkchoice requested sync to new head    number=36,333,658 hash=d57de1..be9155
node-node-1       | {"t":"2025-10-03T01:57:43.317508453Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0xd57de13efcd7f81e0d74d4c99dac7e946a451bb0b3d6f92ddbb7b36e7abe9155","number":36333658,"newpayload_time":"11.906ms","fcu2_time":"627.296µs","total_time":"12.534ms","mgas":52.693359,"mgasps":4203.709766743683}
node-node-1       | {"t":"2025-10-03T01:57:43.317552224Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0xd57de13efcd7f81e0d74d4c99dac7e946a451bb0b3d6f92ddbb7b36e7abe9155:36333658","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456663}
node-node-1       | {"t":"2025-10-03T01:57:45.336750069Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0x9159364aa5f928baad05b565323b217a9e80a32479c91d621bf3945e1663452d:36333659"}
node-execution-1  | INFO [10-03|01:57:45.354] Forkchoice requested sync to new head    number=36,333,659 hash=915936..63452d
node-node-1       | {"t":"2025-10-03T01:57:45.35489536Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0x9159364aa5f928baad05b565323b217a9e80a32479c91d621bf3945e1663452d","number":36333659,"newpayload_time":"17.405ms","fcu2_time":"695.412µs","total_time":"18.101ms","mgas":52.085876,"mgasps":2877.409130147084}
node-node-1       | {"t":"2025-10-03T01:57:45.354929861Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0x9159364aa5f928baad05b565323b217a9e80a32479c91d621bf3945e1663452d:36333659","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456665}
node-execution-1  | INFO [10-03|01:57:45.768] Syncing: chain download in progress      synced=100.00% chain=1.44TiB headers=36,333,[email protected] bodies=36,333,[email protected] receipts=36,333,[email protected] eta=2m18.854s
node-node-1       | {"t":"2025-10-03T01:57:47.328484122Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0xbd4130bddd817f1a1f69e96fdec6cdcb576f20004cc9bd4191560cef56bae729:36333660"}
node-execution-1  | INFO [10-03|01:57:47.341] Forkchoice requested sync to new head    number=36,333,660 hash=bd4130..bae729
node-node-1       | {"t":"2025-10-03T01:57:47.342430238Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0xbd4130bddd817f1a1f69e96fdec6cdcb576f20004cc9bd4191560cef56bae729","number":36333660,"newpayload_time":"13.200ms","fcu2_time":"693.186µs","total_time":"13.895ms","mgas":67.035274,"mgasps":4824.351363626648}
node-node-1       | {"t":"2025-10-03T01:57:47.342475073Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0xbd4130bddd817f1a1f69e96fdec6cdcb576f20004cc9bd4191560cef56bae729:36333660","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456667}
node-execution-1  | INFO [10-03|01:57:48.041] Syncing: state healing in progress       accounts=11,687,[email protected]  slots=63,730,[email protected]      [email protected] nodes=294,729,[email protected] pending=43423



node-node-1       | {"t":"2025-10-03T01:57:49.372290275Z","lvl":"info","msg":"Optimistically inserting unsafe L2 execution payload to drive EL sync","id":"0x4bde941108393d4767d307b5438ce5776d2ef441792203e1f245a98c3f2d8272:36333661"}

node-execution-1  | INFO [10-03|01:57:49.389] Forkchoice requested sync to new head    number=36,333,661 hash=4bde94..2d8272
node-node-1       | {"t":"2025-10-03T01:57:49.389882378Z","lvl":"info","msg":"Inserted new L2 unsafe block (synchronous)","hash":"0x4bde941108393d4767d307b5438ce5776d2ef441792203e1f245a98c3f2d8272","number":36333661,"newpayload_time":"16.553ms","fcu2_time":"990.3µs","total_time":"17.545ms","mgas":67.108726,"mgasps":3824.9313197773963}
node-node-1       | {"t":"2025-10-03T01:57:49.389918724Z","lvl":"info","msg":"Sync progress","reason":"new chain head block","l2_finalized":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_pending_safe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_unsafe":"0x4bde941108393d4767d307b5438ce5776d2ef441792203e1f245a98c3f2d8272:36333661","l2_backup_unsafe":"0x0000000000000000000000000000000000000000000000000000000000000000:0","l2_time":1759456669}

luoxiandong avatar Oct 03 '25 01:10 luoxiandong

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 14 '25 14:11 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Nov 23 '25 00:11 github-actions[bot]