Closed andreclaro closed 4 months ago
The issue is that the finalized block is also 0x0
in mainnet.
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["finalized",false],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"result":{"difficulty":"0x0","extraData":"0x","gasLimit":"0x0","gasUsed":"0x0","hash":"0x11f32f605beb94a1acb783cb3b6da6d7975461ce3addf441e7ad60c2ec95e88f","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0x0000000000000000000000000000000000000000","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","number":"0x0","parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x1f9","stateRoot":"0xe3a7d8bae497945ba8ddc51c69564f60ad4c1a990b9c7bdbd27f7929bfa8f272","timestamp":"0x6607c71b","totalDifficulty":"0x0","transactions":[],"transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncles":[]}}
This is issue (finalized block always 0x0 in xlayer mainnet
) is also observed on the latest cdk-erigon release v1.0.7, which does not include this commit (https://github.com/0xPolygonHermez/cdk-erigon/pull/392).
comparing the logs from testnet and mainnet, we observed a few diffs related with HermezDbReader
:
testnet logs:
May 21 20:11:19 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:19.874] [HermezDbReader] Got block num 13067380 for forkId 9
May 21 20:11:19 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:19.875] [HermezDbReader] Got block num 12524590 for forkId 8
May 21 20:11:19 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:19.875] [HermezDbReader] Got block num 2334618 for forkId 6
May 21 20:11:19 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:19.875] [HermezDbReader] Got block num 1 for forkId 5
May 21 20:11:20 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:20.228] [HermezDbReader] Got block num 13067380 for forkId 9
May 21 20:11:20 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:20.228] [HermezDbReader] Got block num 12524590 for forkId 8
May 21 20:11:20 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:20.228] [HermezDbReader] Got block num 2334618 for forkId 6
May 21 20:11:20 t-xlayer-01 cdk-erigon[606094]: [DBUG] [05-21|20:11:20.228] [HermezDbReader] Got block num 1 for forkId 5
mainnet:
May 21 20:15:18 m-xlayer-01 cdk-erigon[4000401]: [DBUG] [05-21|20:15:18.671] [HermezDbReader] Got block num 1 for forkId 9
May 21 20:15:18 m-xlayer-01 cdk-erigon[4000401]: [DBUG] [05-21|20:15:18.773] [HermezDbReader] Got block num 1 for forkId 9
May 21 20:15:20 m-xlayer-01 cdk-erigon[4000401]: [DBUG] [05-21|20:15:20.085] [HermezDbReader] Got block num 1 for forkId 9
May 21 20:15:20 m-xlayer-01 cdk-erigon[4000401]: [DBUG] [05-21|20:15:20.131] [HermezDbReader] Got block num 1 for forkId 9
ReadForkchoiceFinalized
is returning 0x0000000000000000000000000000000000000000000000000000000000000000
(source code
Because db.GetOne(kv.LastForkchoice, []byte("finalizedBlockHash"))
(source code) is returning empty data.
Added a few logs to confirm:
[ReadForkchoiceFinalized] data: =[]
[ReadForkchoiceFinalized] len(data) == 0
[GetFinalizedBlockNumber] Got forkchoiceFinalizedHash: 0x0000000000000000000000000000000000000000000000000000000000000000 {"pid": 52720, "version": "1212120xff"}
This was done using https://github.com/0xPolygonHermez/cdk-erigon/tree/v1.0.7 with this commit https://github.com/0xPolygonHermez/cdk-erigon/pull/392/commits/4e89b1337a7c26f2ce30347ed81743805e92fd0d and a few more logs.
I will try to fix it
You sure your L1 sync reads verifications from L1 correctly?
Doesn't seem like a problem just with @andreclaro's set-up, we're currently facing the same issue on XLayer mainnet.
hi @mandrigin @giskook , thanks for looking into this issue, which is impacting also other node operators as well.
I see the following log messages every second:
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.067] [HermezDbReader] Got block num 1 for forkId 9
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.148] [HermezDbReader] Got block num 1 for forkId 9
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [2/15 Batches] No new blocks in 501 miliseconds. Ending the stage. lastBlockHeight=1524591
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [2/15 Batches] Total blocks read: 1
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [2/15 Batches] Finished writing blocks blocksWritten=1 elapsed=2.587975777s
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [2/15 Batches] Saving stage progress lastBlockHeight=1524591
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [2/15 Batches] Finished Batches stage
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.842] [2/15 Batches] DONE in=2.588136879s
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [3/15 BlockHashes] Etl transform started
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.842] [3/15 BlockHashes] Etl transform ended
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.842] [3/15 BlockHashes] DONE in=136.713µs
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.843] [4/15 Senders] DONE in=591.092µs
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:13.843] [HermezDbReader] Got block num 1 for forkId 9
May 22 09:45:13 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.999] [5/15 Execution] Short circuit batch=27421 block=1524591
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:13.999] [5/15 Execution] Blocks execution from=1524590 to=1524591
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [5/15 Execution] Completed on block=1524591
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.003] [5/15 Execution] DONE in=160.184383ms
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [6/15 CumulativeIndex] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [6/15 CumulativeIndex] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.003] [6/15 CumulativeIndex] DONE in=109.023µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [7/15 HashState] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [7/15 HashState] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.003] [7/15 HashState] DONE in=339.726µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.003] [8/15 IntermediateHashes] Increment trie hashes started previousRootHeight=1524590 calculatingRootHeight=1524591
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.012] [8/15 IntermediateHashes] Regeneration trie hashes finished. Commiting batch
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.012] [8/15 IntermediateHashes] Increment ended
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.012] [8/15 IntermediateHashes] Trie root hash=0x30d96ccf8a5ddabf97d90736f45790ebdc15528987eaa23dcd41b845b2175832
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.012] [8/15 IntermediateHashes] State root matches
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.033] [8/15 IntermediateHashes] DONE in=29.671097ms
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.033] [9/15 CallTraces] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.033] [9/15 CallTraces] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.033] [9/15 CallTraces] DONE in=353.957µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.033] [10/15 AccountHistoryIndex] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [10/15 AccountHistoryIndex] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.034] [10/15 AccountHistoryIndex] DONE in=225.945µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [11/15 StorageHistoryIndex] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [11/15 StorageHistoryIndex] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.034] [11/15 StorageHistoryIndex] DONE in=247.345µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [12/15 LogIndex] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [12/15 LogIndex] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.034] [12/15 LogIndex] DONE in=333.986µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.034] [13/15 TxLookup] DONE in=129.203µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [14/15 DataStream] Starting...
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [14/15 DataStream] no streamer provided, skipping stage
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.034] [14/15 DataStream] DONE in=55.741µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.034] [15/15 Finish] Started
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.035] [15/15 Finish] Finished
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.035] [15/15 Finish] DONE in=75.511µs
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.377] [HermezDbReader] Got block num 1 for forkId 9
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [DBUG] [05-22|09:45:14.384] [HermezDbReader] Got block num 1 for forkId 9
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.505] Commit cycle in=470.595618ms
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.505] Timings (slower than 50ms) Batches=2.588s Execution=160ms
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.505] Tables PlainState=332.4MB AccountChangeSet=273.1MB StorageChangeSet=736.6MB BlockTransaction=1.2GB TransactionLog=624.3MB FreeList=692.0KB ReclaimableSpace=692.0MB
May 22 09:45:14 m-xlayer-01 cdk-erigon[1137931]: [INFO] [05-22|09:45:14.506] RPC Daemon notified of new headers from=1524590 to=1524591 hash=0x36895993afee2bd8503be06c87e78ca26b7f5bcbb91298142dc7cccab73c86a4 header sending=27.151µs log sending=102.912µs
Querying the latest block:
$ echo $((16#$(curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' | jq -r .result | sed 's/0x//')))
1524612
$ echo $((16#$(curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' | jq -r .result | sed 's/0x//')))
1524613
explorer: https://www.oklink.com/xlayer/block/1524612
querying finalized block:
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["finalized",false],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"result":{"difficulty":"0x0","extraData":"0x","gasLimit":"0x0","gasUsed":"0x0","hash":"0x11f32f605beb94a1acb783cb3b6da6d7975461ce3addf441e7ad60c2ec95e88f","logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","miner":"0x0000000000000000000000000000000000000000","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","number":"0x0","parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000","receiptsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x1f9","stateRoot":"0xe3a7d8bae497945ba8ddc51c69564f60ad4c1a990b9c7bdbd27f7929bfa8f272","timestamp":"0x6607c71b","totalDifficulty":"0x0","transactions":[],"transactionsRoot":"0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421","uncles":[]}}
You sure your L1 sync reads verifications from L1 correctly?
Hi @mandrigin, how can I verify that?
ran the following commands against our etherum mainnet node, used by xlayer:
finalized - "number":"0x13007a6"
:
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["finalized",false],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"result":{"baseFeePerGas":"0x1ebf31d06","blobGasUsed":"0xc0000","difficulty":"0x0","excessBlobGas":"0x40000","extraData":"0x6265617665726275696c642e6f7267","gasLimit":"0x1c9c380","gasUsed":"0xdf5e50","hash":"0x080765ab444cd3458df4e2b2633f28c9bf0fb28595cada715e1182ab11820a0e","logsBloom":"0x51a71d51ac4a0db91a7b7a188a2c99033d0f87244b923462e2994e4a4366195e03c70fc5ca4dc93c62393b95cef61918ea919c5a8e382ea40621af21727bec2a6026d13fd51aac6be81ec9af906ba4f5eff4c3d7fe687e453e0b4550c4e60be15e53c11807c544673c49c0c1072bac91ef3549111af98d05ce660f9c403a62104e0e977cd71488485adf27464b635e70d06d2479d10600bcc23c004c6239652873274052a6d5aa231e1e96e4785e8c583ed56e808da180650e65642b11eda970099da096c00341804405665a0319e5dd0b87b13207a1b5d42563711a31f4e1144871e20b84790371277e9fa1229a8801c95890591ac62cc4284921c46ad3d59d","miner":"0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5","mixHash":"0xf0a94858f21330fbf6880b62d7ca60704e16b002ad7a0bb53de254dfe67b3e89","nonce":"0x0000000000000000","number":"0x13007a6","parentBeaconBlockRoot":"0xbdcd53645bb62f5e4d9893d32851bbd3976ffd10f416c0dd94284df9ed40ae8c","parentHash":"0xf8cb231b4a1a1092a293d284fbf4bc240ca5bfc957a2d0439381fb13c57b248e","receiptsRoot":"0x61baf898cc840c0838f789bf1cd39928db14bc9be3fffc8a512ccccc01327abc","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x121a2","stateRoot":"0x9b9120c86bc2d4272270438a366485d8184813e823d989bcb59ce7a969ab7fbe","timestamp":"0x664dcc57","totalDifficulty":"0xc70d815d562d3cfa955","transactions":["0x1ef986813c2e48dc0b2e25ab33400d48b393f36ec426f260d709bac7ea78801a","0xa2919b01a0242a7260f8a6a92bf27898b7490984921d998538052476355b8367","0xcd6aa3a5bc864048acdabc2823ca316b3efe57ae4e6d911a3833e4ba82b4e1a4","0x70c39a7941a5fbfd8da55f627e69a8b8402f6f676eb77f4c92abc4ee4c3ea098","0x7eb1813e179935d20a542102940e6806bdedaa07da2c983d6664568707102cc2","0x81e491379ea17ef26123a290196e48c883ddd262c1c39750724b3d55d14009f4","0x1fe5d6de47d6d1014fd17d9cc026856ef1650d79610350a606285bf2a3392a82","0x7c4f72d16f35d41c878151e579b111564dba041d29c22ded6d68992e1a462eb1","0x7eae37228ac29448a27eca9f380d75fdc7e43676c37abbed1475996c27d45cde","0x42b854af9783f6f0366a5dafe61cbe6fd8687924c1b822ee89c48809ba707274","0x1a5e1c542cf5c05501fbddcbfc738e75457c863aa44cc92e2453f66c49ca5348","0xf885f67ced3a032516c5f37c8efbb65cfdeb292d151b81e0b10a35507a4527a7","0x54acfbf0ef37feb5158ac574e6189f086e9030edcf5f5d90eafa3b992d1be776","0xcc86eecc1b2a6e686ae012e259173b2c8a3d841f08a96ddc3dfad4089056d09e","0x02596e91a6a596587277d46f41c53cb6d13097f5032ae827aff57c653b3b1f23","0xa4ce8d309b2a14f3b313871404fd17ca38568fad6bddea555b5e987f59e262bc","0x7a7c4302742afce89ce8f9b54abc4c8952fe8a69af8034a1cc89ed672ec5da63","0x9d80dfc83aa706b13f5002ed8912bc59adba32708eee2918476ced2ebeac450b","0x872e0d83d25a80dd749e0205fc5371dd23f22b7e7349aa9a38a6b218d7cd9d0c","0x8baa3a1fe08f1fe0433cce72942593f8f594c16d94bc922caecff318d6b69f95","0x06e9b7c74351f34c1fef07b8c73c48efd5dd0a466344dc0007a9f2f5c6d7e0e6","0x845976a59e04fbb122eae13759db0b3a247cfb3479edb1f2a7240defa5f54035","0xad4de9d706449e2619e698d8ccb1a90c183fdfe094e56e59afe6ac18c107ab46","0xf21a9b2d10d87b338d3e7a2000a4081ffcc88fd570eb038dcf58b0500d88e055","0xb98096bfd8ed67a5ed5ebc372fc347ec5adf53b77ab75c0c8290fe981ee9be13","0xbfbd23d1f1cd1fdb01b6ac56b06acc20b633c1496e2adb89da6dde211534d3bf","0xc6d34877e475189b49a362111d8f574a94c70b54e74691c50e9d129b638ff4b3","0xe2a25326329614d2fc2d3ebc7b7029b192eeab1b4dd261d356cb01f7179035b1","0x8d3658a49f860744fe0aca904f7fef53d8905c32b3d6c618371d87da4cb87e63","0xeda3b34b3d741d52921b8b15b17c7219003082ba22dedae2f2d1e471913bdc37","0xb29977fe657c73e0da7f5200f80ee76d36a0274cf8a950e3e618e47cabf575f2","0x9430dcbf7e66694c8fb7ed19d5c6b4a63fd7a18816fc164ef5c5d6520266b892","0xf17d227eee099b8f75c303cfd647c12a310deb93c326ca5afa37aa2da80eeccd","0x8245470525b9716e6f7e1ad9efc96c83481d83e8c953a8e806f60f7116c80a63","0x00420ff0a70e691a85c41413d18961468ab43a2ed025f475e83b1225f99e7fdd","0xe9bdd39b2376096db4cdc63e3330b68d9590729735d88046be4bde3fa9910668","0x6715bdd2c962c450288c6d8284b16da352ddc00225a07ce5f9ea6e01ac005d11","0x426142c6f57bdf3e9a558644b72d5faab76d97af2dc3c212376fd09cfdc463f8","0x2bdb09528e5d0fd66ccdcaa7e5418a8e45c05f738829a2322bbc24f1b6828505","0x254b0a5a25a208b2685d840fc922c88788e3ff5c03e91625715c8e71b71c5997","0x1e7c1ba507cdb754a5454f18b0db3f109e55be0ddb039c818c22283bc83d5f63","0x3c6f072a92374d4786eab10a7a1ea2354bd967246c9768a974dcd90bfad5deb2","0x76d7f33cd794f73ef2d09073c8f2271d9105beb3b42678d5a620d745bb0ad13d","0xdd3d3e22b922e604a54a23933fadd4f94d647e62b2a421a30a77245df5f637da","0x08ec8a96993733e59deda7ec58756b764ef3b012598a08d3de796e20dfb89832","0x50d894a8f23ea3848d8faaa1a554cdfe57a36e4d24f6d718cd1122b6405533c5","0xb654c7e622a48c615535fb2c7a513d532aa398cac44efc6413901a53fe747ee9","0x15a9a55cdd582ed8c0682e4d1887dfcc26f4dfeef6bfd3f35bb5498ce12f28f4","0x197174568f3efdcc547a6e1b35c627663779ac85f05270c8e7877056f97d7822","0x1db65a0b5e4229b8cf422e0debb3ed2a565a88f6785811f5372d8d277d4b5e26","0xddcc64c15301c1e87acedef97ef2ac03e697f157a519236123dd79e0658afe4e","0xc7f0278f342378648a94a15424734d52344eff5a3d31a94710fcf5e1ce74493f","0xae1a393451982952c2ddfbc70139f24ef8ff7ac3270a6f585a06aab6ffafc0ad","0x277d3979a88cfc0c55fb1b333fa4b949717ded1616ca5c742e98493260ab81e5","0x99b8bd12fec51e8b6cd80952e37897e6a861bb4c5cc36f832a3f61f4173a3f90","0xaca0448b359b0a4c0c4473638f08f60a73f932bfc41f2738cc4002839c45008b","0xa08b49661d1740d2fe5aaa2ef949097feb12313a1c6c26f8c8440e9f4ed79730","0x6218a2c4f05e01cf868644b2d6e4b3b76e0521a3c7814c80b464a94c55accbf2","0x2aab9cd7c7f78cc361b39bb51a93d2ece8477b27a740171a0e03d961653fa5c2","0xae815157571f52212cd74bd0bcb682ae9e8934d74ccb1bd5763c8095708a0b11","0xdc25ad71b91bdad71747e97cdbea4208ded1315eb793bc893a9b68231f97dc2d","0x9eb86afb3c0b0355348b5bdb5fcac32080cae919de9e3e8d5023403a59fc2a18","0x5f8b43003dd5c6b5abc999eee269f650c26d65f6a8c508c4c551a7bfb6948aba","0x3e8bf0ef9aab8235e6d55a340179785e964ba8e6f1c5e782f8e6b19fa80a953a","0x02d9de65979d7ffcc1ab10d9265f5748eab5cc61bc79f3f2ac2399a9a383373c","0xa5a599d847851ae4a84dbf2def957ff77d5b630dee827cccda3cdbccf7535822","0xba013262ef2b2dd092dd7694822b4510b2d1e332ac18a5b862fedd91f61da6f6","0xa065264c0f53deff794be9e797fbe035f6d82f338ad7c451ed1096198d33572d","0xbc0a288442e69aaea296d499250dfab543f40c393bc47a48a566bcde326d8875","0x4f23f989ce15b3bc410e3a90c38f6a0bd53217fb2fba133975747d62f3edba0e","0x996c5c8fa21fd8018985191bb788b7576f458f61827a83a8b7b99a57784d91d3","0x278ff099c38124a0992039e92097ee6bd4775504a45262c41a368f7329eb0511","0x46d72124ee3a583cbaf63764a47a434fa5a5f8717c23033292f6e5219402df9d","0x9724869f60ee1ab707c91555965a1ccc9831bc5e388f7e2b8fc141ab205d3348","0x21675ced63b7ce2c8ce02bb40629cf66fef2241f2a29c138c1b2d74bb7d9745a","0x19b6bcaed9c646abaae1333824c18ef35061d6922e52b89ecb338ea9da6ca4c7","0x689fa1ed62becbbecdcd1f4b932b0d6dfcdc1594338a31e637287243c3a58507","0xcabafa9c2b5c35d3dae1059769c0dbd4ceb7f0a6a017b1237892203c186aeeb1","0x125f9087e353e86f5904f2711f4d42f73bdebb0a0d0aa862c8d181419c75865a","0xf2ab92ba82e9b77fe5b956ac5860dd0feef18ee87888cf1d755c7c300e3dbd4d","0xe1932afad7b1a9873115f8bc193324d645efbb9d5c0c045efd8f0a0743aa57a4","0x81b24760b44de1ffa8561a8052573cdf13332b956a15b4cc0871f14022751b18","0x6b667581c2928b0d1cd4fb9a9da50f890e8f50e7354041adaeeb82e6c1054e92","0xc38c765af1c9d0638054d8abc0c1e89eec74868f41b3c750ffa91d93e4a57e9b","0x0750349bbdd299bf20e386b02a1c596a9c340af7da9c3b21a96e9cd683ecfd96","0x649d246f8b1e839b1b1cc855d8dfc38cd51af25d7cf62f8a5d6462b0023e59b8","0xf32ed124d4257c5a1b9a2f4fc3e2a9ad001e6bb01f9e9771f76c330f79ec2058","0x63abc586c9d6974a41f39d626497b8578da2895b1566d49329f53e597e790ce2","0x7843e7557cfe3168cf217418ecc032f42bfa93de600d7f980b6d64a0724d26f5","0x6fc5a623ea18968abceee026564e0ac492c0c08ce91f1b6a0b55a2662a99525e","0x1f0c2f2a1ca370e4b3371e7c964d0735b37df3711921f5ec824149891c6c82a7","0x5098b38c3ff188ebf2f4ee30a4bfb432643b7a7787cad34c92e9d265faf84f0b","0xd64382cb6ef5c8a92f226b5ea775277b2293cc2abb65bbbd3b171ddb817c545c","0xa5a5b61eacffa7fcde17af1ee63504e697d28e6d6aca59d25cfa89a38cfe35ec","0x2ba4f66e6e99f822466ff8da96040d47d4973f17188199466f2f0ae24b9f6526","0xada116f608b8bca6163debfd17aa25f098013547f54e68eabfc9aa55cc3b1a31","0x308b254b086d4a45ae86da59e47f3ce91a2c0cc2bd3ee989e32ef01f21a92334","0x0c88d93a8861341f4bc918b313bf3df1a64c73a7db3a3037c5bff852679874f9","0xebede83e609aa587a593d6e9e01331ded8f2d665b56ed207e845f961ee8f29cb","0x31af96a4f0d773ebd7049f061d6a1aee7f468b26ada4c819d946754a649a0c06","0x6b2d9c8c14da1010f2612302307212fb07a38d7f07eca03efdbe96291fd66c20","0x804df8b405504f0a87503a180105e938ec631a4b00d6ee753d5b85542e4c455a","0x46e62ea7bd43b2b9d6dbf0c4902d4a0f6b530ef407c251ee0a714307ecd0847f","0xb89fb52d0a2befe4d4edcd42e3aa34f6cd729a26ed9fb6ffef1dc8fbfd14ab7f","0x7df35b020715e26d2f0365d2cd45951de51cb913723e4e3531b141b9a784f036","0x09cd871f5508a1922dfd2d63cab97b9ab59fb76360c3c065e4aaa6ca8e66fb15","0xc37948e16de81b271a769001ed9ad251b150511f51f683c6d07dceeaa699f20c","0xfbe0652d0f086eb445b59ba93c2fcf54c0dd1b7c2b2e49a25ea1ec0d0dbd59a7","0xa4df0100d33be808a6619722ac16520b12ecb1c3d22fc1ec1a937c862d8124ca","0x59fd2f645f5fa33eee00a97936debfe40a8fe0666d15c5d710d8d4637bda8128","0xe784dc46e2c774a4c179e200fb596a9055c4ab71e93a46093ea5619a4abcc4ac","0x98da6fdf4a86701388bb11db1be65dae4df1600c909be863f6c5b8bb2a226a3b","0x037df02aa9570c656e965b94a67458542f5a89c6ea4a5e8f4bfa8e73f892f9f0","0x76be04ce67dd1a18c14a07a1e517c78b24fd3c58d3bbdc50863bfabc226ff4d6","0x30d51d861b37b90b7c7f07cf08d0d966974d2a51ccee36b0ca0ff8b08b098ab2","0xe50c410413c66acf59737d9893e8107489cc3b05f6b80e5eeef38b5f68b8ef50","0xfe493db6e7b20c47b01e1a7ae64879694c02a8f136e41d4593528f59ff5158c5","0x721d2e515744e47663cd6ad29712d62da95bad798048e38a0bfc88823af7ff37","0xfbabfebf6d6b51e7f1d931c59615da2d1946ec4c96ad5a3feba0d3c0714f1e08","0x93585c00db3fbd0d9697bdeb4ddbeb8ff07f2700a3dd116e9df5a5a31c9ae203","0x70c944124abc909833616e68a0fcd42fb77a75768fea41728dc01eef19eace01","0xaf0b7345eb32bf51b6cefda045256dcc6f1a44e631fa994ac230bf7ad2a81aac","0xfd4598ee1e4916c2f1f848662468ed2d376ca0bc78bcc2b2bb11618d5af1060b","0xdde1febcb8cff81d4dd7299973717f6536647c47339862050b26156a791690e0","0x1d53515a9655ab96fb7605cd7d5a20d2eb5edcd43ed0428eae5a9c2603395524","0x124b245075e00a638fef89b21585ada500e87eb11328df028a5b9cd81588f3e1","0x83ccca2a87d964db8cb6b413530e88f03ab4221d8324654357a45e6932614bca","0x96e929ad7028a253be012ab1dd43d77482357ba933a62df0c287e3502bbf8e09","0xfbe2af48036bd8b71ac7f1a6d5a4141a0ddd78b87e3928209dd91b1e9e392148","0xe25758a30010c43034922b9affa955b895b7687107c104e2ccaf174d86550100","0xeae369c74a61343a8b626198c89ecb91fb6c65bfa37ec2ce5168eb7686b3da12","0x6ca6f04e194a73fa248421f9724ef990663458ca974eaa22658eede43f11f117","0x36d357a3dd791e8b0d1ad7f225c313ee3ab42540773e7fbc47622006b9fbaba7","0x8efc94610772c4cf021eef0f2f9bf283c453827c72d8d777bb91e4dbfc4e65fc","0x6dc0d370db6153a0b4dc87279b0f3ce24f693311c8c94d35ff05caeb74b7daee","0x95693526c7f34717f71e9badc814843d1993bb813b25416c739126aa0bc8ad84","0xa5a169a79644e1bd58136ad63428910699384efd7ceeadec31be3f6ad5a5d08c","0xb06f884c257d452843c27479ec700b4d3ef014f6ff481ac0f5ed6516666cc7e4","0xb677da55774cff674552589f312108c44047746edeaffeb1e85c0245898c8852","0xad3f54fe31861b9e5c0402b15531ed226436352390f205624c723b7487d90a04","0x83f249690dbf9028785fb981800f1f81d6a085fd5c4f4a6d1e03a408a56c35d4","0xf260aca0087f12ed9b29148f6972a16d1aaf4428ee6dc806e494cb0775057163","0xaec897fa22394bc6c4ca24e152e9e62f64c43f8798dc9f17af0bde4408aa69df","0x1663375ed73ff82af39794f66fa54ea6204cfbb1384491b6cab2d221398cb71e","0xf5dd58f96cf4e661283e2138e1e9125ebd2613380bd878871b05e79582e3080b","0x8359139750a0ab55472d0cfa217d102781aa096c45099a611d641eb27d9e4cc3","0x87192d76a39814eaaa82673419f0f5600e155ac384f65115ea50ead5703ca945","0xbbbee69168f06fcd6cfef4330f3a70078c72de5cee1a0fcdcd8986e62ec84126","0xafa2870ca3447484f60c4a064c6111581bb25a1b4dcf8019aa96d0521600d237","0xfc11cdef69186808c3ac930dd719ae7a2032aeece60d7baa3ecc69e8edd94eac","0x993ffd389ec87326c5ac00aa880f60605463c25b610c26436aaa7d23f78128e3","0x47bd0090df5238d637303a4e3e13d13f54655ed30e78448a3161fe46ad7a15a6","0x0bc184bb5ceaaec6dca04dec969148aea60e456ee24c9381fa6fea9b6495ac46","0xf42f7da85cced7608f24e44d2d6acc2fc56b1e41abb021aa2db95e53d86fe2ea","0xcd615ad5318eaeb1fb4ac07be3477ba868e4e4d27158ca706eb03114e91b4231","0x3d1e7aa5b47992e7b7b19d4779ea826bd67b30ab72a69a1e0eaa719141607e45","0x01f941b1fc10693bc8c5cc51327ed6cb8ea5e66fa0f521a566a9da7163e2a8e3","0xecd4d367f83c04ad66c81f479883a7f1518da7ec440a0706491024ff50211815","0x26d9fde2d8b627354471f12b41ceaaea4e065435ace8b06dbf623a5e14f3e995","0xf15514774af608079a9e4677d22c82353e02ddaf1b00d50535c07889014be47e","0x5762499897e60878cba6a3570d42a067ff0152f6b8e82850ba60169e938832fe","0x933ca3d0f911b5010e0efcf4d4686994cf551aff340259b60fa4785a79b68c18","0x0e76ec691f52918a7a277da04e9e0bed8e4e22cfe91b3019e3590c6025c395c0","0x3343ca8717b348d8a7815457d8795eded1119c7c217fe0140a3a690bfbd9988c","0xa4673cd7e65e2a520d0255904f48f3df4de22959d5ea3e170bdc4f235e4e3628","0xe82b65d88e06ba803f742d80dd0a79ed785592adf52bb54351ad3e944343149c","0x2489e7d3b63f7a10b2ff5cbae732456b76e81e5a9582cb482fcb741ef12dab77","0x14b58069ee762ce2eb17cea4ce7ca76c9fa60955f42869171f394071661e6737","0x8acf433d1f2c5114574f40159ac0aa8bb0e250737458a358bf16152b2cac6722","0x8d4b58655b2da882a9b308e638f1ac1d17ce25a8c95c4cca11ea9ff64d1438d7"],"transactionsRoot":"0x21ff843ad73b81aa670daf1c8aeb0c8d71d8431f83c48a8e38e7231642a3b1e6","uncles":[],"withdrawals":[{"index":"0x2c18d4b","validatorIndex":"0x11a4","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11d8988"},{"index":"0x2c18d4c","validatorIndex":"0x11a5","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11d2343"},{"index":"0x2c18d4d","validatorIndex":"0x11a6","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x3d28e2f"},{"index":"0x2c18d4e","validatorIndex":"0x11a7","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11dd0e4"},{"index":"0x2c18d4f","validatorIndex":"0x11a8","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11e7a38"},{"index":"0x2c18d50","validatorIndex":"0x11a9","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11d7786"},{"index":"0x2c18d51","validatorIndex":"0x11aa","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x3c96fbf"},{"index":"0x2c18d52","validatorIndex":"0x11ab","address":"0x8448db7e850468592ac8a72d5c30a7953baf8235","amount":"0x11e14ca"},{"index":"0x2c18d53","validatorIndex":"0x120c","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11eac69"},{"index":"0x2c18d54","validatorIndex":"0x120d","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11e0cb4"},{"index":"0x2c18d55","validatorIndex":"0x120f","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11e797b"},{"index":"0x2c18d56","validatorIndex":"0x1210","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11e039c"},{"index":"0x2c18d57","validatorIndex":"0x1211","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11dc22c"},{"index":"0x2c18d58","validatorIndex":"0x1212","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11e0abb"},{"index":"0x2c18d59","validatorIndex":"0x1213","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11df0c3"},{"index":"0x2c18d5a","validatorIndex":"0x1214","address":"0x3c02f8407fc46f26209beb72a1c50268e04ac273","amount":"0x11e439a"}],"withdrawalsRoot":"0x08926752e043ef1de66029a8392da54f4cfe4bea84c7af69567c035dcf3ec2f3"}}
safe - "number":"0x13007c4"
:
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["safe",false],"id":1,"jsonrpc":"2.0"}'
{"jsonrpc":"2.0","id":1,"result":{"baseFeePerGas":"0x1a87d4dce","blobGasUsed":"0x0","difficulty":"0x0","excessBlobGas":"0x0","extraData":"0x546974616e2028746974616e6275696c6465722e78797a29","gasLimit":"0x1c9c380","gasUsed":"0xcf0713","hash":"0x1cc0db59d69e08a97b477851fc79975f8173e660bcb4a94dae358a8cf30b186c","logsBloom":"0x13ada21a2ccd0919033b3b94ea17c22d74822a0c4782d0044189445dc36d0ab8146eb9e19c8f0ef8ca0500c7c26af1a51fa111b09ec5e2f81e8d0a4ae7ae0a44cda9be687900aa281c44d32c027905a8e8907eb720555c41c4e45d1a8a3173e14879700c836734326858f25a6c803d4f871902292664243a8372875c0008c6c14e7ebfebe640cfc9b54901c00da0052ea031c4b1278c00a9a18e32eaa2f61d738bcf1808ba92ba810cbf72c08bdbf55414e3b66813a0596acc9f01208c800b62f182229200d7085fc3411232031fc803eca02a372e8eb1d4aafb752e5560e9922a522c02033e1001475c54c734ab3980912374d0d92a61f1177981e17c2c95eb","miner":"0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97","mixHash":"0xd0e320af25a7699e65574acf09336d1b1b251e607b3fa372fc94785450a27786","nonce":"0x0000000000000000","number":"0x13007c4","parentBeaconBlockRoot":"0xa177bd7ff05fb541f2d71319dfe47d99c2ad8974a4f9d3bc6c3e4c645c24692c","parentHash":"0x8fbd571f90a544afa899e615d26fd6a862ffe72d582b3c417d4ff35ac4dadef3","receiptsRoot":"0x5a4aa92cf635deb9a5926b5656cbb2c765edfab0c15bf633d6a80d3be4d8d692","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","size":"0x10490","stateRoot":"0x304350350dbaf5f59080dcf71036fe254d7854c16ed228581a436fcad18fe829","timestamp":"0x664dcdd7","totalDifficulty":"0xc70d815d562d3cfa955","transactions":["0x8858d5e88b3814067a51051d3423952df67b2722855ecbc67fa36aaa0c9aa4bf","0x0bc12715d5c61ebd36b6b3ea74d021ca3fcd33b4fa481c54da9da785d03c4260","0x4abf1bb0810d032e7e3d8c3695e1a52cbc0f0181688d5807dd9e4182adcf3acc","0xbaffbbb22f27bc259b7474e17cab6e16d4dc218042a8972e61c505977303caf7","0xe4beb3b1eed19f81b15cb24ae53cdd214379ad10b32bb80d7ac95ac938fc0629","0x3b387a224035c35b98c6bba9cad55b1f9532afe6b38e620a18b0d089483640bc","0xeb927b3d086f2be324654ad94eef1eb900342b7bc12b406d35b8ada1b1f8931c","0xada6ab2ab2434c980f1d5a0be2e1332d50ea055fd1aa9f14eaf5eb5ae8707978","0xf976a668b75995ef56970628f7ac572121f98c51d5c1f9b861302ac285574b22","0x424f13c9ad117e339ddadd2ef6f001f523bf13b2feb5ea13ce7684eb5e0ffbf6","0x6d3c9e177d35c9be7320452968efae395ed44aa386574e12914456a314054061","0x39f400af037283a2d67dab7bd184ba970f5cb518b98e39178f77ac3ecfe4e193","0x79eef284332709ff05e56ad13fa0853db0baecf6d01be1bb242ebbbb39f08455","0x15e7822fca70875259270a8d9af6f08582a07b3f2e8539daabd51eba6c15f51b","0xf9459f51a1474abaa1317a9db510b1b51fc39886ee3c352cd617bcddc5e65a81","0x478b8a328821d238a84378e1b236eaa1b4627c0a71cd0a274b985bfdacf24119","0xc9c29d7a5a6b574406e10d6d065cd9d31fe271b65d720d2e233eeb12cee77125","0xb2c3e527add0e4b76aa72ec68de67dae71e4b74aeb4220e64dd8c37b42eb96df","0xc4128be2f5b67cdc80d01f73ff7e5305896440e5da164dcf22e3132d000fa717","0x35d5157c7c774aa9ad0acc30dc1950f21e061da92b6cd4637b73f1236cf5da87","0x03897e7806e659c76827a1ccabeb6e2c635ec430b9acd93b15f7b4d0b4d1aac5","0xde43d3ed540e64ec5adb5a5decb17e547638498abac72e9e58cff5f9a7e19a4e","0x6f2d040fbce7a38dc35f193265a720b5ee6e2826844e22b04a7940ee87452321","0x954d342557172c33c0ff3cc373c973afcd9a0c8da005221f422a9cc5c9944726","0xea2008edf007042ce5c718d9b26a5e1490c3c8f745a20d28a375c26daee1bcc3","0x8c177f803404259918fd383f7d63165c881e1c4c10128331271cb8a2c5c62614","0xe333750c27f0aeffb5acc6a7ed755f64dcd52b4f29c84f9a0e4705179e13dd4b","0x525abf09d7cd410e64b550baa37089b4a49938d622f289c16f76177246ff0d85","0x934c4090a7c29229b56bc25ba6f67bb9fab452ea828b77954e27eb2fef2fb37f","0x24d3dd833f5cd606e634fcf4871528217c57ef629a5b06af6b8001a6d497ae88","0xb8daa3ca6194693d2d18b756f1429995c6e5f7ec6b624772e1c24d93feb25d09","0x407a7e50c05aca07123300ca7d822fedce3be1d134bee63713abe832211dbea4","0xf2976464b37362bae68db63722d5694d615cd852b18d2824de29e0ddfa0dcbb2","0x0cea9dd9ffcc8804cbe68203f5f51ccd4187dceacff39f887b4fe396bcf51b64","0x8f0040adfeb8dc98397fbb1ac6f39aa866e0f0b253f333059836d108a6a94d9f","0x77ce479d21bfcc08b77c20b13baef2c2a80f0569f278fb82b7eaa0b4943209e0","0x8737542f6947e7a8dc8b3459951f9e979741e064113f38752a749d1f3c0f1740","0xb53779f91a9df92a72f0be992a686bf011cf09a73a059ca3ed210664e0c590de","0x092ff27c5f3eed9d533a47dd578599fa1a643d5a3860c5bc10d1459d6a4b36d3","0xad95ab46d7883e0a01be49e545f829ae40f970ee2e8247b9f569e1e4a4e6994f","0xceb99d085384540b65d2cd15dc83ae896169d66f8ba1d1eaf1d8a25e20fece6d","0xf596fd5fdbf651ba25a3a5c09c9b15ce22c37d4cd39185775693b1fe9aa921c4","0x77772589bd88ef45562da976284537bc89c8b087ae26ba55a789e4b6bd3a520f","0x8965b7ea2502fbe1dc199415fa2d372aa5e26419c67854b72b9ef5a2ca7fdd70","0x00fcd2f7db75785ba82069495c9d816f7fab03fabeae54c29900a7f4207079f8","0x61f4ee0a20229d25ea425cffbebeca83471efc673684aa60ed098f1b235c1ea3","0x15e0b35057951b0ad5c688f2bb37f685a671ea753d2a801dc0845a44dfac33e9","0x8919ac988bbb5f0e95ea63e03c8157f7b1e8ed0119729671766bc5024e388476","0x42e0e59bb06009c3643861c3abce595d08aed24422c6e350235ffb0c3e22d1a7","0x72eb5c41ed2d1d9a0eb9c0c17ba47f65213b7ac6d5cbd4312eae42d04f667927","0xd728b04214654d66c9e1953c2cde9341586f95471c33391285bbb287f8c69bcd","0x88dcb210b87d13a4f8c87ea57ff22557dfe6546abca56fb56f5a7768891536ac","0x07c02af14e145b832317e35121db1a12419326c8d333fdb118dcc50603a3289e","0x097207b621962f701f2bed8c668af61d3063382ad4b35e42dcfdaa0d13fcd195","0x89e87169b6b6e60f4776ce7e673f2f3cc723fb1bc8e72c58eb69ef010c5e22d0","0xa1caf6d396f3923075a5a24dbfa57030db53e7e89d4d09fae0ae66e4f2a69d8f","0x9d3dfa915247bf174184fe629d80f34edcdcee31f08bec8125e0ea91a27e2b98","0xe6678cefcb2547ea9da572d6a510b034d5a6aab7a927d8d8c487ea42bc48e778","0x0087b92a10aaad57204458d4ad589397e8f8c7b426a7d69623d2c6580124f166","0x5d6ac23e34038331af659132d81b0e4c79afb2ce818232c12c4ead8024461ca6","0x54370250308180e4cbf3a4041d9629f1243aed2ab466d20cc9084cd5f2d3e9c4","0xa4195c9ef045eb76b7fa5f8c321ee78d9cdbcf59d73d550de20ea62f85121fa4","0xb4f9cd655f2c347de3a7588c4c4806b640e70eac9437fb83a7047474755f5302","0x2c57a8cba1fc2565eef2c901b4a053c1ef729afc2c8493f34a61d48985579b1d","0x6db5e81998dbcc0164b22d9bc4dab680134d79dcba1064025780f3c65939f6fb","0x3322d9c199708ea8ad54a52dd1856cfba829a559abf7c3562e07c3e999545bc9","0xe7295dc74571a1526b80905da3adb6f84d0a14bb4babce59bbae025950dec20a","0x31d08c911ae9f396567496081bfd8d1a048f5559439c288c0837a98a1d1eea54","0xa180cb767349172977739f7be543980b74ddad4876e286f492c3eeb8bd8d4a68","0xad1eeb3b4846274689d0c091743d8157f1f9802923a52bad98464bbba58af4a0","0xb19b29e81991fd26c704c72eab11aef4711dd7c4520207d89a47ef0dc1de76d6","0xf2f5f43ca4074ae2893d12c475315f0c0f498eed53e0dfd79db270bfb4609d6e","0xf1ae10414f5ea5dac2aaed8ca41ef91cb0caf02eb76d67e6419c35b6ca4f69ff","0xdccec1e7cd46a85fc58437bd12f4ac81cc10c43e0a3b10b418964ff9396fdbf2","0x0112cd9cece50a1f654e635f3770a3817612ac296964415542e07635494d7fd3","0xb56c3862cbf0faf3083b0161f21bce704288464e101cd14cf05b0041b1b4e90b","0xbe63f4115271234d12ee1a4356da7af928dcbd9003d3d7f28d4bdfcf99fca2e2","0x86c33298810d2d8c1ce1e491233f67be5312df359878c974c4defbf7d14bcad8","0xc2db431c17f71de28f168bb5ed56e28e489fd2a73b0513cc8c3d5b8052ec65d0","0x826de68abcf0ccff1548d45792e44dfee32d6be2f9e957aebaa00c20849da1ed","0x8e5bd8a0787e252493bef7eff7a3d7258264b85c8ea79cdf710fa33ecc7e9dea","0xed9ea51226f096050ded24e64c60db34fd44f159b855d9dce8c3110e436f9aa6","0xc9067770d76aace735f603e3756806636f68b95479a2cd42bee1e7c1ce47b2c0","0x27a72b46e5b73ffcc155e806b63274a5563df6766e84317a2908c13701dc55ea","0x1cf6cfd215d0254bc7fff93571b25261c39538318736a2419a3873a587be01b1","0x81402c2afc4221ff1b18e2c0ae5190d320da040e4d5bd4a93f9976d94ede014d","0xb066656835c0758cad006a7900a334b2ae35febca79fe96c6cbba1250f11bc04","0xb4c113f85307ecbbd101e517f2a254ca7b9b3fc7e22ab693e468dacd707c0413","0x56f9de0dba3a848fc97f348f0f0a5b51eead39b41eea6d1db213548743d6c5dc","0x7984cd4db0c480d096d1d9cabcadcec8c5a897bb3712731c37b42694fa1f0e1f","0x19a13eef7ca76c4efd6794affd8f08d2dc52b842ff0e24f8c7ed8779b474eb3d","0x3bf7a49f923712d138e8b0406c3a442585ed5947d4a1453d45c07d262f3d3a0d","0x3fb4d2d3cac573449226ab468fa780b6cca821b6634525e1def878263b0e140e","0x39c227283419724d4b04986d5f374bc18fd5813139f0228530f586c14b7884b7","0x7dbe45cd5cc80812ce86c3f69a155f731a2e7ee9a4e09ed78821215a0488034f","0xb99786b32651191a14d8c05ea8801b111eaa1daeb645524c7b160a9daa967f86","0xcfc5f9e09dbacdd6e507945a7643aee747ceb3eab56a225b0f136c230853723f","0x8caffe927dd5ee592d5575f7dfec04a48eb3469c0d74a753120a4d5e3c590c83","0x77a707304f46bd758ff9f851742e94c97b250809bac9ea1ed248ee59ed0d9379","0xc5c41203b08786b9704cb200fd6772abd40ad0788981dfc1795cf580d141dc84","0xef534e31a0e15de11d6160c03861d25194ab6e0ab4d6bcb06c7474df1f9e540b","0xd8c5cd7649c8f2c054ab69f8718ba955f882d5cdc913b5c9edac081536121652","0xecd7861834eed125908c2bd7b6e56754ffd93af16bca21d3e9611cb1aa405634","0xde00c7721bf86ee3c1e596659314162d722658be0f3f2ffe24ed0f5598cdf267","0xe786e7606f1767834bc2210ae4f677a3252cd8ec764b603f958f129dfd9550e0","0x122ae03bca9a9129982696008444fd6c7077f0de543954ddee22622d8f176b70","0x03e52e852025cc478da37ea0d4199feeb2b7bd9a7666a3ff22e812bf46279426","0x722b6a17968106b030c6dbb1124602788fa12e54c2ab650548342f55bca0725a","0x529e37d15cd3fe59c505d35e3837f63dec4aa251a8ed7bc55a1cdb079a100f83","0x21cd419cd2fefa7b31ba314c80a71acd9c5cc9dac377bf8aefea85bbec2f0050","0x159c601f70dce4f15ee6da558c143cd82c79620678142b81d1e79c1a40c27958","0xce1f68b2c640376850d86c31e9643f6ef8e95f82db34ca11840a154ce41f79b2","0x6645ad097ba26b7eba0233e52cf5b7ae5d7cabf1fb60bebf14375794eec36c3d","0x33c52f408a232c7787872351972cb8c758a9aff2eee328fa5a567eb4b42ba7ad","0x8897ba5137ddbb9a60384a55fbdfd9279e6cbf79d6e7081f43fc79732fa57af1","0xb1abd9074637c277aa7f3fa3b06ca63d7b7879ae24e30f60257de7045d5600ea","0x796af5bc6c353c9458ed2b9933c1c3832404e13a88b7b63d07bb77dd177e04ab","0x7813948ecda621884bc002b2e998d4485fd6347732bf3e1e5ac616e7f5cba375","0xccd15e1bf8c62dc2686fafafab17c6195918be6643abfb2372fb93d39e6a4e9c","0xcd58aaffef8904fb9d4d8735b5ab98179b19b757c41d57180bf188d41c0b7a46","0x1d868150902bea883fd1831717a9069f45cceeb6233d4f2a9ffcb3702cd912e7","0x2b24184fcca8be8f71b8faa242a3e71fc8028ce656182e4c92f9d04689360cf8","0x06913fcf985103568364709ce8866d123b830f363d8c8de5dfa1380d8177769e","0x226e7486e55002bd615946471ee91d593285b35e789b9c1980e26d68f264c641","0xbaa0eff75dc8814ed342abe36f0c6b71be3e97bcb201a9947a3a973a45f97a93","0xc1ebb62543e27b09f22202ca0b056e78eb19f7baf16f959977e5907c824f96df","0x13ae9f19f964b615ca60de6e4c7c8061a33abac6c5381ef6c369265d63dbf16b","0xe4edf62c2b4c4a20c598abe0b9032d3cc1a4326e2e3aff829b5419e4c33a2fb1","0x1fd408e7bbf14a64dc66661cea1ba656151f8292ea6c22c42471dc3898464431","0xa89b27393f504bc4f7694a480d9b6b0bc2362d9a3cf70ca38f62d709d674f1a2","0x66443b6079a8d7f8f1d9e8f014042d11f4823198500cee2760bc41760a900dfc","0x1d574f3977487bddea0d4c64ef547f9a93d8c45c40644c4aa70e4a83754a3fea","0x6122aa1d5d1b5aa9bdcf2b34e11ef0215f05781bf054c774bf26c9054f449796","0xe57f4c0ce03813a5d814c5817e227be8110dd0723ce44615652d3a12da8930f1","0xf4441a92d222c28b5446ceba0433db484f485adaa0dd1537e237e9c008d6ba34","0x7c83195834efa41b8c33247808f2df7d7abb536b621df918f36ee39e5594732a","0x773de8ce2d39ed5c3b2aaeda8ca9be3bf60b926c199405bebdf42734c5f9b5df","0xd416076716d2eeceddbe802bbd964dbf898f35b6d05fcdd18b2ac857619c6b00","0x050ed0a9b073a000941f69a71e6c8afa56c6462e7066bd9a1c9a62a37ddc955a","0xb4e5e2fe3bcc1db891ea36731809e96870fc235b6aa44f195545df7b39a9d026","0x96c26a26eec2bc5ef74401d2460b5ad4a65caeb10dd28471cc059f6b79d39a98","0x14e16e05e6f61900574954370a9babc30926d84593765702c85e1771c73bd3de","0x2c197a80dff711138f2d98b46348e3023de41332dabc2491efe065a1277af532","0x28f9c7c448f1ea83e6851a3ee30baa6ae5ac6ff91ddf4f77aa6f38eb21d8b0f4","0xf92db926bc5432459365026dd8e2c93d37a28b1b621f7491b28352224a793bb2","0xe2a9e0490b55a3452dbc98ac4145926098efbf6c33f221a0bf388d34bfe0e561","0x309c6b5aad76d88952872a23f397c9d98a52f74458dda23eef484ea361cedaf9","0xc103eccbaa69310b0ff755faa0bbead8c29f7f968a5dc4062e51b3ffc2a9b370","0x271d55d27546d0498bd5aa39dec6c865a19f5fc7b1e1e0281e3f40d1cb83136a","0x16964c3b2e31e3cd2d8b060e07a229b8e1f86dce38442d03c79dc23091f70b9f","0xfb0f28153a5dbd7084145577e645cb61288b2f005e8d9b448a36f9f6183aa6ff","0xb624647d73d04f3a720b2db0bfe03587aa9e4a48885e1d286a978faa44c776c9","0x05d47b85b6ac588b6c95e6df7e6a0b97ccde11601d63c208df368d293412044d","0x4ba7ba03e24823701720a5da992176b22571956ea6183d44e7fcffadc54caa3c","0x4d4423967294bcbe375034aa96e90ced21fdc29cb8ff3364500fd50ee35614a0","0xdaa639966829ad9fd13d9174d27643a9520cbc7107abdcb21ce243af154bf704","0x1df7c9e4bba23fb7456ff9e4429ae426a3902730ec739ecad5370ff2add5b9d1","0xfbdb803b6002f23574c629cd11ffecd9783bd9a60b08cdb6dd72b7b2cd05b051","0xcb313a8771f3395024b8f41f6ef87538d9e10a0f393956f276717d87a3236d2a","0x5719849230756bdd7e5097217213855e55713f52254a087ed292060be0fb64f1","0x07637eeafbf68065e4e7a8e135cffc2d9abfe9fe538eceb59d63a892d1c3f469","0xe17ee152f2b7c42967db05f7705da0bd4ada5568469756b349f1ab98b05fd1c8","0xeb082ef4cbd9f4e4bbb191450db6baab4b7e5405c219c0e20b6a870a3e2739a6","0xf6580afa07b895a3dd678ed635f8c0ea7facf7827ed956262af651c0d02b4359","0x696960afec657106c6083e91d0a06bdb1fee23e87ce644a6b93516e9437b91e9","0x0cfb2448569c9c150baab72f189d01b70730a32d5610a72af5acb1ccb0c1ec26","0xa541a989533b1d5efa4088b3d63343132cdff2bf4bf48f345ce708cdbce3335a","0xea354fdc62159416b3744c838329d41d686439767895577d97ecf9d972bb1660","0x46aea30f7aa7f2f4001f0d008087920832e8ad0c504e09ad27946bdefaf20f5d","0xb8aa918d668a5f1f5f320aaaa4e89e67448c3deafaa0f5217f7f5a38a8bc6995","0x6f88c26b140f620c1fc06a165d2d6ed5502df3773e8dcb68c2529a8265e8e252","0x59595c5a675db061536e4faeec6848ffb4e785ccd729fc5b0bbfe40e32c1443f","0x02133476b851642a12832895b00c3ace221b791bc4657d272905f7d5031e3893","0x1603eb7d39340f133bca8603f167c8fc626ed40c933a6c7c20515c1c2af05895","0xed6c169fa7e201eedd9f174a4e2efca29be27a5c6c2950946377016aecf99415","0xb88de8fcba386abd4000920b69726eec3e211a823017963804f0c1d9bdab8cb8","0xfe22e2c33a7912e09763bd208d2072387bb6673959803239a756981d51750e5e","0x2dc273e538eecd4bf7a430a3806326b99007ff8b7ab16f6ff594c2869fbb5823","0xe4f94964b14c7feccac6b0fb6a59796ba5bb60b52e3dcc1d8a767fe7a621e725"],"transactionsRoot":"0x8f38353fc7de8e99670e91e6e5b988c09306ec00e4a5ad119bc55c304195b931","uncles":[],"withdrawals":[{"index":"0x2c18f2b","validatorIndex":"0x14f9","address":"0xfa7f89a14d005f057107755ca18345728e2e3938","amount":"0x117f813"},{"index":"0x2c18f2c","validatorIndex":"0x14fa","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x11e32b7"},{"index":"0x2c18f2d","validatorIndex":"0x14fb","address":"0x865c05c13d422310d9421e4da915b73e5289a6b1","amount":"0x119a222"},{"index":"0x2c18f2e","validatorIndex":"0x14fd","address":"0xfa7f89a14d005f057107755ca18345728e2e3938","amount":"0x119221b"},{"index":"0x2c18f2f","validatorIndex":"0x14fe","address":"0xfa7f89a14d005f057107755ca18345728e2e3938","amount":"0x55a154d"},{"index":"0x2c18f30","validatorIndex":"0x14ff","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x3f0d670"},{"index":"0x2c18f31","validatorIndex":"0x1500","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x11e4488"},{"index":"0x2c18f32","validatorIndex":"0x1501","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x11e71d6"},{"index":"0x2c18f33","validatorIndex":"0x1502","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x11ed71a"},{"index":"0x2c18f34","validatorIndex":"0x1503","address":"0x347a70cb4ff0297102dc549b044c41bd61e22718","amount":"0x119e18a"},{"index":"0x2c18f35","validatorIndex":"0x1504","address":"0xfa7f89a14d005f057107755ca18345728e2e3938","amount":"0x1185d6f"},{"index":"0x2c18f36","validatorIndex":"0x1505","address":"0x347a70cb4ff0297102dc549b044c41bd61e22718","amount":"0x1195434"},{"index":"0x2c18f37","validatorIndex":"0x1507","address":"0x865c05c13d422310d9421e4da915b73e5289a6b1","amount":"0x119d0d7"},{"index":"0x2c18f38","validatorIndex":"0x1509","address":"0xfa7f89a14d005f057107755ca18345728e2e3938","amount":"0x118e586"},{"index":"0x2c18f39","validatorIndex":"0x150a","address":"0x5675801e9346ea8165e7eb80dccd01dca65c0f3a","amount":"0x11dbf15"},{"index":"0x2c18f3a","validatorIndex":"0x150b","address":"0x865c05c13d422310d9421e4da915b73e5289a6b1","amount":"0x1194112"}],"withdrawalsRoot":"0x5b73b97cd6c3cf0c99b130779361e04bfb087f29f92edc35a119d3a6c85f1108"}}
I also tried using an eth node from a 3rd party node provider.
ETH stuff is not related at all with that. This is finality on L2 we are talking about here.
“Safe” and “finalized” on CDKs are based on L1 verifications posted by the prover. So basically your node needs to be points to the right RollupManager contract on L1 and also have the correct index there, to be able to parse verifications. Then it will verify the state root that was submitted by the prover, and match it with what it gets locally. If matches — it will move “safe” and “finalized” because it guarantees that this hash never changes.
Check how it works on Cardona and zkEVM Mainnet.
You sure your L1 sync reads verifications from L1 correctly?
@mandrigin, How can I verify?
Check how it works on Cardona and zkEVM Mainnet.
@mandrigin, We don't run zkEVM nodes yet... and the issue is only observed on X Layer Mainnet.
XLayer Testnet is running as expected and returning finalized block.
ETH stuff is not related at all with that. This is finality on L2 we are talking about here.
“Safe” and “finalized” on CDKs are based on L1 verifications posted by the prover. So basically your node needs to be points to the right RollupManager contract on L1 and also have the correct index there, to be able to parse verifications. Then it will verify the state root that was submitted by the prover, and match it with what it gets locally. If matches — it will move “safe” and “finalized” because it guarantees that this hash never changes.
We are following the same configuration shared here (https://github.com/0xPolygonHermez/cdk-erigon/issues/441#issue-2308957573), which we got from the configuration in cdk-erigon repo: https://github.com/0xPolygonHermez/cdk-erigon/blob/zkevm/xlayerconfig-mainnet.yaml.example
@giskook and @mandrigin anything wrong?
We are following the same configuration shared here (#441 (comment)), which we got from the configuration in cdk-erigon repo: https://github.com/0xPolygonHermez/cdk-erigon/blob/zkevm/xlayerconfig-mainnet.yaml.example
It's correct.
Your network is an AggLayer network, I guess, what’s your rollup id for mainnet?
Okay, first thing first — rollupID should be 3 and not 1 for mainnet. Can you update it, resync and see if that helps?
Please fix it in our repo too, it is wrong, I just confirmed.
If that doesn’t help — ping me again — that means that Erigon doesn’t work well with AggLayer networks and we need to fix it.
Your network is an AggLayer network, I guess, what’s your rollup id for mainnet?
Yes, the rollup id should be set to 3 @andreclaro
Please fix it in our repo too, it is wrong, I just confirmed.
fixed pr https://github.com/0xPolygonHermez/cdk-erigon/pull/451
Hi @mandrigin, can you make sure these commits including this fix safe block made as finilized is included in the next release of cdk-erigon?
Thanks a million everyone!
@andreclaro yep, we are always releasing based on “zkevm” branch, so it should be included in the next release for sure.
Up
We would like this feature in the next release cycle since it's important for our operations at Triton One
+1
+1 I would like to have the safe block made as finalized on the next release cycle
+1 We would also like this safe block made as finalized fix to be included in the next release of cdk-erigon.
everybody wants it
+1
Summary
Safe Block is always
0x0
on X Layer Mainnet. On testnet is reporting the correct block. This was observed using Using https://github.com/okx/xlayer-erigon/tree/rpc-fix-safe branch, which contains the commit in this PR https://github.com/okx/xlayer-erigon/pull/11However, I also tried the latest version v1.0.7 of cdk-erigon and the finalized block is also always 0x0 on X Layer mainnet.
This is a follow-up to https://github.com/0xPolygonHermez/cdk-erigon/issues/388 and https://github.com/okx/xlayer-erigon/issues/10
System information
Erigon version:
OS & Version: Linux
Erigon Command (with flags/config):
Chain/Network: X Layer - Mainnet
Expected behaviour
Report correct block information:
Actual behaviour
Reports always block number "0x0":
Steps to reproduce the behaviour
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"method":"eth_getBlockByNumber","params":["safe",false],"id":1,"jsonrpc":"2.0"}'