|
| 1 | +import type { ChainConfig } from '@ethereumjs/common' |
| 2 | + |
| 3 | +export const Goerli: ChainConfig = { |
| 4 | + name: 'goerli', |
| 5 | + chainId: 5, |
| 6 | + defaultHardfork: 'cancun', |
| 7 | + consensus: { |
| 8 | + type: 'poa', |
| 9 | + algorithm: 'clique', |
| 10 | + clique: { |
| 11 | + period: 15, |
| 12 | + epoch: 30000, |
| 13 | + }, |
| 14 | + }, |
| 15 | + comment: 'Cross-client PoA test network', |
| 16 | + url: 'https://github.com/goerli/testnet', |
| 17 | + genesis: { |
| 18 | + timestamp: '0x5c51a607', |
| 19 | + gasLimit: 10485760, |
| 20 | + difficulty: 1, |
| 21 | + nonce: '0x0000000000000000', |
| 22 | + extraData: |
| 23 | + '0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', |
| 24 | + }, |
| 25 | + hardforks: [ |
| 26 | + { |
| 27 | + name: 'chainstart', |
| 28 | + block: 0, |
| 29 | + forkHash: '0xa3f5ab08', |
| 30 | + }, |
| 31 | + { |
| 32 | + name: 'homestead', |
| 33 | + block: 0, |
| 34 | + forkHash: '0xa3f5ab08', |
| 35 | + }, |
| 36 | + { |
| 37 | + name: 'tangerineWhistle', |
| 38 | + block: 0, |
| 39 | + forkHash: '0xa3f5ab08', |
| 40 | + }, |
| 41 | + { |
| 42 | + name: 'spuriousDragon', |
| 43 | + block: 0, |
| 44 | + forkHash: '0xa3f5ab08', |
| 45 | + }, |
| 46 | + { |
| 47 | + name: 'byzantium', |
| 48 | + block: 0, |
| 49 | + forkHash: '0xa3f5ab08', |
| 50 | + }, |
| 51 | + { |
| 52 | + name: 'constantinople', |
| 53 | + block: 0, |
| 54 | + forkHash: '0xa3f5ab08', |
| 55 | + }, |
| 56 | + { |
| 57 | + name: 'petersburg', |
| 58 | + block: 0, |
| 59 | + forkHash: '0xa3f5ab08', |
| 60 | + }, |
| 61 | + { |
| 62 | + name: 'istanbul', |
| 63 | + block: 1561651, |
| 64 | + forkHash: '0xc25efa5c', |
| 65 | + }, |
| 66 | + { |
| 67 | + name: 'berlin', |
| 68 | + block: 4460644, |
| 69 | + forkHash: '0x757a1c47', |
| 70 | + }, |
| 71 | + { |
| 72 | + name: 'london', |
| 73 | + block: 5062605, |
| 74 | + forkHash: '0xb8c6299d', |
| 75 | + }, |
| 76 | + { |
| 77 | + // The forkHash will remain same as mergeForkIdTransition is post merge, |
| 78 | + // terminal block: https://goerli.etherscan.io/block/7382818 |
| 79 | + name: 'paris', |
| 80 | + block: 7382819, |
| 81 | + forkHash: '0xb8c6299d', |
| 82 | + }, |
| 83 | + { |
| 84 | + name: 'mergeForkIdTransition', |
| 85 | + block: null, |
| 86 | + forkHash: null, |
| 87 | + }, |
| 88 | + { |
| 89 | + name: 'shanghai', |
| 90 | + block: null, |
| 91 | + timestamp: '1678832736', |
| 92 | + forkHash: '0xf9843abf', |
| 93 | + }, |
| 94 | + { |
| 95 | + name: 'cancun', |
| 96 | + block: null, |
| 97 | + timestamp: '1705473120', |
| 98 | + forkHash: '0x70cc14e2', |
| 99 | + }, |
| 100 | + ], |
| 101 | + bootstrapNodes: [ |
| 102 | + { |
| 103 | + ip: '51.141.78.53', |
| 104 | + port: 30303, |
| 105 | + id: '011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a', |
| 106 | + location: '', |
| 107 | + comment: 'Upstream bootnode 1', |
| 108 | + }, |
| 109 | + { |
| 110 | + ip: '13.93.54.137', |
| 111 | + port: 30303, |
| 112 | + id: '176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b', |
| 113 | + location: '', |
| 114 | + comment: 'Upstream bootnode 2', |
| 115 | + }, |
| 116 | + { |
| 117 | + ip: '94.237.54.114', |
| 118 | + port: 30313, |
| 119 | + id: '46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291', |
| 120 | + location: '', |
| 121 | + comment: 'Upstream bootnode 3', |
| 122 | + }, |
| 123 | + { |
| 124 | + ip: '18.218.250.66', |
| 125 | + port: 30313, |
| 126 | + id: 'b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949', |
| 127 | + location: '', |
| 128 | + comment: 'Upstream bootnode 4', |
| 129 | + }, |
| 130 | + { |
| 131 | + ip: '3.11.147.67', |
| 132 | + port: 30303, |
| 133 | + id: 'a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91', |
| 134 | + location: '', |
| 135 | + comment: 'Ethereum Foundation bootnode', |
| 136 | + }, |
| 137 | + { |
| 138 | + ip: '51.15.116.226', |
| 139 | + port: 30303, |
| 140 | + id: 'a869b02cec167211fb4815a82941db2e7ed2936fd90e78619c53eb17753fcf0207463e3419c264e2a1dd8786de0df7e68cf99571ab8aeb7c4e51367ef186b1dd', |
| 141 | + location: '', |
| 142 | + comment: 'Goerli Initiative bootnode', |
| 143 | + }, |
| 144 | + { |
| 145 | + ip: '51.15.119.157', |
| 146 | + port: 30303, |
| 147 | + id: '807b37ee4816ecf407e9112224494b74dd5933625f655962d892f2f0f02d7fbbb3e2a94cf87a96609526f30c998fd71e93e2f53015c558ffc8b03eceaf30ee33', |
| 148 | + location: '', |
| 149 | + comment: 'Goerli Initiative bootnode', |
| 150 | + }, |
| 151 | + { |
| 152 | + ip: '51.15.119.157', |
| 153 | + port: 40303, |
| 154 | + id: 'a59e33ccd2b3e52d578f1fbd70c6f9babda2650f0760d6ff3b37742fdcdfdb3defba5d56d315b40c46b70198c7621e63ffa3f987389c7118634b0fefbbdfa7fd', |
| 155 | + location: '', |
| 156 | + comment: 'Goerli Initiative bootnode', |
| 157 | + }, |
| 158 | + ], |
| 159 | + dnsNetworks: [ |
| 160 | + 'enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.goerli.ethdisco.net', |
| 161 | + ], |
| 162 | +} |
0 commit comments