Skip to content

Commit

Permalink
Add fixture chain configs (#8)
Browse files Browse the repository at this point in the history
For easier processing with chain-chunker.

Reviewed-on: https://git.vdb.to/cerc-io/eth-testing/pulls/8
  • Loading branch information
roysc committed Jul 10, 2024
1 parent 86dcba2 commit 29c99dd
Show file tree
Hide file tree
Showing 11 changed files with 977 additions and 1 deletion.
1 change: 1 addition & 0 deletions chains/data/premerge1/eth_blockNumber.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"jsonrpc":"2.0","id":1,"result":"0x20"}
26 changes: 26 additions & 0 deletions chains/data/premerge1/eth_getBlockByNumber_0x0.json
Original file line number Diff line number Diff line change
@@ -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": []
}
}
15 changes: 15 additions & 0 deletions chains/data/premerge1/genesis.config.json
Original file line number Diff line number Diff line change
@@ -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
}
}
35 changes: 35 additions & 0 deletions chains/data/premerge1/genesis.json
Original file line number Diff line number Diff line change
@@ -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
}
1 change: 1 addition & 0 deletions chains/data/premerge2/eth_blockNumber.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"jsonrpc":"2.0","id":1,"result":"0x106"}
26 changes: 26 additions & 0 deletions chains/data/premerge2/eth_getBlockByNumber_0x0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"difficulty": "0x1",
"extraData": "0x",
"gasLimit": "0x400000",
"gasUsed": "0x0",
"hash": "0x8a3c7cddacbd1ab4ec1b03805fa2a287f3a75e43d87f4f987fcc399f5c042614",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x0000000000000000000000000000000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000001234",
"number": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x1f8",
"stateRoot": "0x151cf8db334cc8ca0ef46e1d52776f3c08db659d865b00967f5eee0a8b28a98b",
"timestamp": "0x0",
"totalDifficulty": "0x1",
"transactions": [],
"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncles": []
}
}
15 changes: 15 additions & 0 deletions chains/data/premerge2/genesis.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"chainId": 1212,
"homesteadBlock": 1,
"eip150Block": 1,
"eip155Block": 1,
"eip158Block": 1,
"byzantiumBlock": 1,
"constantinopleBlock": 1,
"petersburgBlock": 1,
"istanbulBlock": 1,
"berlinBlock": 1,
"londonBlock": 1,
"mergeNetsplitBlock": 1,
"terminalTotalDifficulty": 1000
}
Loading

0 comments on commit 29c99dd

Please sign in to comment.