Skip to content

Commit 978f179

Browse files
authored
Merge pull request #4 from eth-clients/nflaig-patch-1
Schedule Pectra hard fork
2 parents 6c9a688 + 3f43f03 commit 978f179

4 files changed

Lines changed: 68 additions & 8 deletions

File tree

metadata/besu.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,20 @@
1616
"terminalTotalDifficulty": 58750000000000000000000,
1717
"shanghaiTime": 1681338455,
1818
"cancunTime": 1710338135,
19-
"ethash": {
19+
"pragueTime": 1746612311,
20+
"ethash": {},
21+
"depositContractAddress": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
22+
"blobSchedule": {
23+
"cancun": {
24+
"target": 3,
25+
"max": 6,
26+
"baseFeeUpdateFraction": 3338477
27+
},
28+
"prague": {
29+
"target": 6,
30+
"max": 9,
31+
"baseFeeUpdateFraction": 5007716
32+
}
2033
},
2134
"discovery": {
2235
"dns": "enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net",

metadata/chainspec.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,27 @@
190190
"eip4844TransitionTimestamp": "0x65F1B057",
191191
"eip5656TransitionTimestamp": "0x65F1B057",
192192
"eip6780TransitionTimestamp": "0x65F1B057",
193-
"terminalTotalDifficulty": "C70D808A128D7380000"
193+
"eip2537TransitionTimestamp": "0x681B3057",
194+
"eip2935TransitionTimestamp": "0x681B3057",
195+
"eip6110TransitionTimestamp": "0x681B3057",
196+
"eip7002TransitionTimestamp": "0x681B3057",
197+
"eip7251TransitionTimestamp": "0x681B3057",
198+
"eip7623TransitionTimestamp": "0x681B3057",
199+
"eip7702TransitionTimestamp": "0x681B3057",
200+
"depositContractAddress": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
201+
"terminalTotalDifficulty": "C70D808A128D7380000",
202+
"blobSchedule": {
203+
"cancun": {
204+
"target": 3,
205+
"max": 6,
206+
"baseFeeUpdateFraction": 3338477
207+
},
208+
"prague": {
209+
"target": 6,
210+
"max": 9,
211+
"baseFeeUpdateFraction": 5007716
212+
}
213+
}
194214
},
195215
"genesis": {
196216
"seal": {

metadata/config.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ PRESET_BASE: 'mainnet'
66
# Free-form short name of the network that this configuration applies to - known
77
# canonical network names include:
88
# * 'mainnet' - there can be only one
9-
# * 'prater' - testnet
9+
# * 'sepolia' - testnet
10+
# * 'holesky' - testnet
11+
# * 'hoodi' - testnet
1012
# Must match the regex: [a-z0-9\-]
1113
CONFIG_NAME: 'mainnet'
1214

@@ -19,7 +21,6 @@ TERMINAL_BLOCK_HASH: 0x000000000000000000000000000000000000000000000000000000000
1921
TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH: 18446744073709551615
2022

2123

22-
2324
# Genesis
2425
# ---------------------------------------------------------------
2526
# `2**14` (= 16,384)
@@ -50,6 +51,9 @@ CAPELLA_FORK_EPOCH: 194048 # April 12, 2023, 10:27:35pm UTC
5051
# Deneb
5152
DENEB_FORK_VERSION: 0x04000000
5253
DENEB_FORK_EPOCH: 269568 # March 13, 2024, 01:55:35pm UTC
54+
# Electra
55+
ELECTRA_FORK_VERSION: 0x05000000
56+
ELECTRA_FORK_EPOCH: 364032 # May 7, 2025, 10:05:11am UTC
5357

5458

5559
# Time parameters
@@ -104,15 +108,13 @@ DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa
104108
# Networking
105109
# ---------------------------------------------------------------
106110
# `10 * 2**20` (= 10485760, 10 MiB)
107-
GOSSIP_MAX_SIZE: 10485760
111+
MAX_PAYLOAD_SIZE: 10485760
108112
# `2**10` (= 1024)
109113
MAX_REQUEST_BLOCKS: 1024
110114
# `2**8` (= 256)
111115
EPOCHS_PER_SUBNET_SUBSCRIPTION: 256
112116
# `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 33024, ~5 months)
113117
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 33024
114-
# `10 * 2**20` (=10485760, 10 MiB)
115-
MAX_CHUNK_SIZE: 10485760
116118
# 5s
117119
TTFB_TIMEOUT: 5
118120
# 10s
@@ -139,3 +141,15 @@ MAX_REQUEST_BLOB_SIDECARS: 768
139141
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
140142
# `6`
141143
BLOB_SIDECAR_SUBNET_COUNT: 6
144+
145+
# Electra
146+
# 2**7 * 10**9 (= 128,000,000,000)
147+
MIN_PER_EPOCH_CHURN_LIMIT_ELECTRA: 128000000000
148+
# 2**8 * 10**9 (= 256,000,000,000)
149+
MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT: 256000000000
150+
# `9`
151+
BLOB_SIDECAR_SUBNET_COUNT_ELECTRA: 9
152+
# `uint64(9)`
153+
MAX_BLOBS_PER_BLOCK_ELECTRA: 9
154+
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK_ELECTRA
155+
MAX_REQUEST_BLOB_SIDECARS_ELECTRA: 1152

metadata/genesis.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,21 @@
2121
"terminalTotalDifficultyPassed": true,
2222
"shanghaiTime": 1681338455,
2323
"cancunTime": 1710338135,
24+
"pragueTime": 1746612311,
2425
"ethash": {},
25-
"depositContractAddress": "0x00000000219ab540356cBB839Cbe05303d7705Fa"
26+
"depositContractAddress": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
27+
"blobSchedule": {
28+
"cancun": {
29+
"target": 3,
30+
"max": 6,
31+
"baseFeeUpdateFraction": 3338477
32+
},
33+
"prague": {
34+
"target": 6,
35+
"max": 9,
36+
"baseFeeUpdateFraction": 5007716
37+
}
38+
}
2639
},
2740
"nonce": "0x42",
2841
"timestamp": "0x0",

0 commit comments

Comments
 (0)