From 19f401a05aa74c182c8e08f28f53384c618efa1c Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 10 Jul 2024 14:36:15 +0800 Subject: [PATCH] add premerge1 genesis config --- chains/data/premerge1/eth_blockNumber.json | 1 + .../premerge1/eth_getBlockByNumber_0x0.json | 26 ++++++++++++++ chains/data/premerge1/genesis.config.json | 15 ++++++++ chains/data/premerge1/genesis.json | 35 +++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 chains/data/premerge1/eth_blockNumber.json create mode 100644 chains/data/premerge1/eth_getBlockByNumber_0x0.json create mode 100644 chains/data/premerge1/genesis.config.json create mode 100644 chains/data/premerge1/genesis.json diff --git a/chains/data/premerge1/eth_blockNumber.json b/chains/data/premerge1/eth_blockNumber.json new file mode 100644 index 0000000..768fc00 --- /dev/null +++ b/chains/data/premerge1/eth_blockNumber.json @@ -0,0 +1 @@ +{"jsonrpc":"2.0","id":1,"result":"0x20"} diff --git a/chains/data/premerge1/eth_getBlockByNumber_0x0.json b/chains/data/premerge1/eth_getBlockByNumber_0x0.json new file mode 100644 index 0000000..311620f --- /dev/null +++ b/chains/data/premerge1/eth_getBlockByNumber_0x0.json @@ -0,0 +1,26 @@ +{ + "jsonrpc": "2.0", + "id": 1, + "result": { + "difficulty": "0x1", + "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000dc7d7a8920c8eecc098da5b7522a5f31509b5bfc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "gasLimit": "0x7a1200", + "gasUsed": "0x0", + "hash": "0x37cbb63c7150a7b60f2878433963ed8ba7e5f82fb2683ec7a945c974e1cf4e05", + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "miner": "0x0000000000000000000000000000000000000000", + "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x0000000000000000", + "number": "0x0", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "size": "0x272", + "stateRoot": "0xf9b061564470224729393dc3363c75f0477af16fbb66e6e707b5348e19a18b1b", + "timestamp": "0x603eb748", + "totalDifficulty": "0x1", + "transactions": [], + "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncles": [] + } +} diff --git a/chains/data/premerge1/genesis.config.json b/chains/data/premerge1/genesis.config.json new file mode 100644 index 0000000..56833c6 --- /dev/null +++ b/chains/data/premerge1/genesis.config.json @@ -0,0 +1,15 @@ +{ + "chainId": 41337, + "homesteadBlock": 0, + "eip150Block": 0, + "eip155Block": 0, + "eip158Block": 0, + "byzantiumBlock": 0, + "constantinopleBlock": 0, + "petersburgBlock": 0, + "istanbulBlock": 0, + "clique": { + "period": 5, + "epoch": 30000 + } +} diff --git a/chains/data/premerge1/genesis.json b/chains/data/premerge1/genesis.json new file mode 100644 index 0000000..ebad456 --- /dev/null +++ b/chains/data/premerge1/genesis.json @@ -0,0 +1,35 @@ +{ + "config": { + "chainId": 41337, + "homesteadBlock": 0, + "eip150Block": 0, + "eip155Block": 0, + "eip158Block": 0, + "byzantiumBlock": 0, + "constantinopleBlock": 0, + "petersburgBlock": 0, + "istanbulBlock": 0, + "clique": { + "period": 5, + "epoch": 30000 + } + }, + "nonce": "0x0", + "timestamp": "0x603eb748", + "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000dc7d7a8920c8eecc098da5b7522a5f31509b5bfc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "gasLimit": "0x7a1200", + "difficulty": "0x1", + "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "coinbase": "0x0000000000000000000000000000000000000000", + "alloc": { + "dc7d7a8920c8eecc098da5b7522a5f31509b5bfc": { + "balance": "0x1000000000000000000000000" + } + }, + "number": "0x0", + "gasUsed": "0x0", + "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "baseFeePerGas": null, + "excessBlobGas": null, + "blobGasUsed": null +}