Skip to content

Commit

Permalink
add op genesis config json file
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Jul 27, 2024
1 parent 9e6388e commit 3e7267d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
53 changes: 53 additions & 0 deletions config/src/main/resources/optimism-mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"config": {
"chainId": 10,
"homesteadBlock": 0,
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 3950000,
"londonBlock": 105235063,
"arrowGlacierBlock": 105235063,
"grayGlacierBlock": 105235063,
"mergeNetsplitBlock": 105235063,
"shanghaiTime": 1704992401,
"cancunTime": 1710374401,
"bedrockBlock": 105235063,
"regolithTime": 0,
"canyonTime": 1704992401,
"ecotoneTime": 1710374401,
"fjordTime": 1720627201,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true,
"optimism": {
"eip1559Elasticity": 6,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250
},
"discovery": {
"bootnodes": [
"enode://d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666@18.138.108.67:30303",
"enode://22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de@3.209.45.79:30303",
"enode://2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc@65.108.70.101:30303",
"enode://4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052@157.90.35.166:30303"
]
}
},
"nonce": "0x0",
"timestamp": "0x0",
"extraData": "0x000000000000000000000000000000000000000000000000000000000000000000000398232e2064f896018496b4b44b3d62751f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0xe4e1c0",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"stateHash": "0xeddb4c1786789419153a27c4c80ff44a2226b6eda04f7e22ce5bae892ea568eb"
}
14 changes: 13 additions & 1 deletion config/src/main/resources/optimism-sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,23 @@
"mergeNetsplitBlock": 0,
"bedrockBlock": 0,
"regolithTime": 0,
"canyontime": 1699981200,
"ecotonetime": 1708534800,
"fjordtime": 1716998400,
"terminalTotalDifficulty": 0,
"terminalTotalDifficultyPassed": true,
"optimism": {
"eip1559Elasticity": 6,
"eip1559Denominator": 50
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
},
"discovery": {
"bootnodes": [
"enode://d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666@18.138.108.67:30303",
"enode://22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de@3.209.45.79:30303",
"enode://2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc@65.108.70.101:30303",
"enode://4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052@157.90.35.166:30303"
]
}
},
"nonce": "0x0",
Expand Down

0 comments on commit 3e7267d

Please sign in to comment.