Skip to content

Commit 601829f

Browse files
authored
Make builders non-validating staked actors (#4788)
1 parent a02f535 commit 601829f

File tree

23 files changed

+1074
-558
lines changed

23 files changed

+1074
-558
lines changed

configs/mainnet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ SYNC_MESSAGE_DUE_BPS: 3333
9696
CONTRIBUTION_DUE_BPS: 6667
9797

9898
# Gloas
99+
# 2**12 (= 4,096) epochs
100+
MIN_BUILDER_WITHDRAWABILITY_DELAY: 4096
99101
# 2500 basis points, 25% of SLOT_DURATION_MS
100102
ATTESTATION_DUE_BPS_GLOAS: 2500
101103
# 5000 basis points, 50% of SLOT_DURATION_MS

configs/minimal.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ SYNC_MESSAGE_DUE_BPS: 3333
9292
CONTRIBUTION_DUE_BPS: 6667
9393

9494
# Gloas
95+
# [customized] 2**3 (= 8) epochs
96+
MIN_BUILDER_WITHDRAWABILITY_DELAY: 8
9597
# 2500 basis points, 25% of SLOT_DURATION_MS
9698
ATTESTATION_DUE_BPS_GLOAS: 2500
9799
# 5000 basis points, 50% of SLOT_DURATION_MS

presets/mainnet/gloas.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@ MAX_PAYLOAD_ATTESTATIONS: 4
1212

1313
# State list lengths
1414
# ---------------------------------------------------------------
15+
# 2**40 (= 1,099,511,627,776) builder spots
16+
BUILDER_REGISTRY_LIMIT: 1099511627776
1517
# 2**20 (= 1,048,576) builder pending withdrawals
1618
BUILDER_PENDING_WITHDRAWALS_LIMIT: 1048576
19+
20+
# Withdrawals processing
21+
# ---------------------------------------------------------------
22+
# 2**14 (= 16,384) builders
23+
MAX_BUILDERS_PER_WITHDRAWALS_SWEEP: 16384

presets/minimal/gloas.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,12 @@ MAX_PAYLOAD_ATTESTATIONS: 4
1212

1313
# State list lengths
1414
# ---------------------------------------------------------------
15+
# 2**40 (= 1,099,511,627,776) builder spots
16+
BUILDER_REGISTRY_LIMIT: 1099511627776
1517
# 2**20 (= 1,048,576) builder pending withdrawals
1618
BUILDER_PENDING_WITHDRAWALS_LIMIT: 1048576
19+
20+
# Withdrawals processing
21+
# ---------------------------------------------------------------
22+
# [customized] 2**4 (= 16) builders
23+
MAX_BUILDERS_PER_WITHDRAWALS_SWEEP: 16

0 commit comments

Comments
 (0)