Skip to content

Commit bf09ede

Browse files
authored
Clean up electra presets (#4254)
1 parent 528ba95 commit bf09ede

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

presets/mainnet/electra.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,44 @@ MIN_ACTIVATION_BALANCE: 32000000000
77
# 2**11 * 10**9 (= 2,048,000,000,000) Gwei
88
MAX_EFFECTIVE_BALANCE_ELECTRA: 2048000000000
99

10+
# Rewards and penalties
11+
# ---------------------------------------------------------------
12+
# 2**12 (= 4,096)
13+
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: 4096
14+
# 2**12 (= 4,096)
15+
WHISTLEBLOWER_REWARD_QUOTIENT_ELECTRA: 4096
16+
1017
# State list lengths
1118
# ---------------------------------------------------------------
12-
# `uint64(2**27)` (= 134,217,728)
19+
# 2**27 (= 134,217,728) pending deposits
1320
PENDING_DEPOSITS_LIMIT: 134217728
14-
# `uint64(2**27)` (= 134,217,728)
21+
# 2**27 (= 134,217,728) pending partial withdrawals
1522
PENDING_PARTIAL_WITHDRAWALS_LIMIT: 134217728
16-
# `uint64(2**18)` (= 262,144)
23+
# 2**18 (= 262,144) pending consolidations
1724
PENDING_CONSOLIDATIONS_LIMIT: 262144
1825

19-
# Reward and penalty quotients
20-
# ---------------------------------------------------------------
21-
# `uint64(2**12)` (= 4,096)
22-
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: 4096
23-
# `uint64(2**12)` (= 4,096)
24-
WHISTLEBLOWER_REWARD_QUOTIENT_ELECTRA: 4096
25-
26-
# # Max operations per block
26+
# Max operations per block
2727
# ---------------------------------------------------------------
28-
# `uint64(2**0)` (= 1)
28+
# 2**0 (= 1) attester slashings
2929
MAX_ATTESTER_SLASHINGS_ELECTRA: 1
30-
# `uint64(2**3)` (= 8)
30+
# 2**3 (= 8) attestations
3131
MAX_ATTESTATIONS_ELECTRA: 8
32-
# `uint64(2**1)` (= 2)
33-
MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD: 2
3432

3533
# Execution
3634
# ---------------------------------------------------------------
37-
# 2**13 (= 8192) deposit requests
35+
# 2**13 (= 8,192) deposit requests
3836
MAX_DEPOSIT_REQUESTS_PER_PAYLOAD: 8192
3937
# 2**4 (= 16) withdrawal requests
4038
MAX_WITHDRAWAL_REQUESTS_PER_PAYLOAD: 16
39+
# 2**1 (= 2) consolidation requests
40+
MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD: 2
4141

4242
# Withdrawals processing
4343
# ---------------------------------------------------------------
44-
# 2**3 ( = 8) pending withdrawals
44+
# 2**3 (= 8) pending withdrawals
4545
MAX_PENDING_PARTIALS_PER_WITHDRAWALS_SWEEP: 8
4646

4747
# Pending deposits processing
4848
# ---------------------------------------------------------------
49-
# 2**4 ( = 4) pending deposits
49+
# 2**4 (= 16) pending deposits
5050
MAX_PENDING_DEPOSITS_PER_EPOCH: 16

presets/minimal/electra.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,44 @@ MIN_ACTIVATION_BALANCE: 32000000000
77
# 2**11 * 10**9 (= 2,048,000,000,000) Gwei
88
MAX_EFFECTIVE_BALANCE_ELECTRA: 2048000000000
99

10+
# Rewards and penalties
11+
# ---------------------------------------------------------------
12+
# 2**12 (= 4,096)
13+
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: 4096
14+
# 2**12 (= 4,096)
15+
WHISTLEBLOWER_REWARD_QUOTIENT_ELECTRA: 4096
16+
1017
# State list lengths
1118
# ---------------------------------------------------------------
12-
# `uint64(2**27)` (= 134,217,728)
19+
# 2**27 (= 134,217,728) pending deposits
1320
PENDING_DEPOSITS_LIMIT: 134217728
14-
# [customized] `uint64(2**6)` (= 64)
21+
# [customized] 2**6 (= 64) pending partial withdrawals
1522
PENDING_PARTIAL_WITHDRAWALS_LIMIT: 64
16-
# [customized] `uint64(2**6)` (= 64)
23+
# [customized] 2**6 (= 64) pending consolidations
1724
PENDING_CONSOLIDATIONS_LIMIT: 64
1825

19-
# Reward and penalty quotients
20-
# ---------------------------------------------------------------
21-
# `uint64(2**12)` (= 4,096)
22-
MIN_SLASHING_PENALTY_QUOTIENT_ELECTRA: 4096
23-
# `uint64(2**12)` (= 4,096)
24-
WHISTLEBLOWER_REWARD_QUOTIENT_ELECTRA: 4096
25-
26-
# # Max operations per block
26+
# Max operations per block
2727
# ---------------------------------------------------------------
28-
# `uint64(2**0)` (= 1)
28+
# 2**0 (= 1) attester slashings
2929
MAX_ATTESTER_SLASHINGS_ELECTRA: 1
30-
# `uint64(2**3)` (= 8)
30+
# 2**3 (= 8) attestations
3131
MAX_ATTESTATIONS_ELECTRA: 8
32-
# `uint64(2**1)` (= 2)
33-
MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD: 2
3432

3533
# Execution
3634
# ---------------------------------------------------------------
37-
# [customized]
35+
# [customized] 2**2 (= 4) deposit requests
3836
MAX_DEPOSIT_REQUESTS_PER_PAYLOAD: 4
3937
# [customized] 2**1 (= 2) withdrawal requests
4038
MAX_WITHDRAWAL_REQUESTS_PER_PAYLOAD: 2
39+
# 2**1 (= 2) consolidation requests
40+
MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD: 2
4141

4242
# Withdrawals processing
4343
# ---------------------------------------------------------------
44-
# 2**1 ( = 2) pending withdrawals
44+
# 2**1 (= 2) pending withdrawals
4545
MAX_PENDING_PARTIALS_PER_WITHDRAWALS_SWEEP: 2
4646

4747
# Pending deposits processing
4848
# ---------------------------------------------------------------
49-
# 2**4 ( = 4) pending deposits
49+
# 2**4 (= 16) pending deposits
5050
MAX_PENDING_DEPOSITS_PER_EPOCH: 16

0 commit comments

Comments
 (0)