Closed dapplion closed 2 months ago
To test run
python generate_chiado_genesis.py && ./run_reth.sh
From https://rpc.chiadochain.net the genesis block is
{ "author": "0x0000000000000000000000000000000000000000", "difficulty": "0x20000", "extraData": "0x", "gasLimit": "0x989680", "gasUsed": "0x0", "hash": "0xada44fd8d2ecab8b08f256af07ad3e777f17fb434f8f8e678b312f576212ba9a", "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "miner": "0x0000000000000000000000000000000000000000", "number": "0x0", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "size": "0x21a", "stateRoot": "0x9ec3eaf4e6188dfbdd6ade76eaa88289b57c63c9a2cde8d35291d5a29e143d31", "step": 0, "totalDifficulty": "0x20000", "timestamp": "0x0", "baseFeePerGas": "0x3b9aca00", "transactions": [], "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncles": [] }
with
curl -X POST https://rpc.chiadochain.net -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x0", true],"id":1}' | jq '.result'
As of 24e4f7db29fd9324620476423db051c0b49b809d I get
2024-07-12T10:02:11.892026Z INFO reth::cli: Database opened 2024-07-12T10:02:11.916902Z DEBUG reth::cli: Initializing genesis chain=chiado genesis=0xa7931c99fd2b7b5e323a2fda8a2dd607cea04f03835c3f29bfe7c057c8b5672e
Genesis block diff as of commit 24e4f7db29fd9324620476423db051c0b49b809d
To test run
From https://rpc.chiadochain.net the genesis block is
with
As of 24e4f7db29fd9324620476423db051c0b49b809d I get