mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 04:44:28 +00:00
Updated consensus types for Gloas 1.7.0-alpha.1 (#8688)
Pulling out consensus type changes from #8677. This PR covers all type changes for spec 1.7.0-alpha.1 (except for `DataColumnSidecar` changes, which is covered in @eserilev's PR #8682) Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
@@ -1 +1,23 @@
|
||||
# Mainnet preset - Gloas
|
||||
|
||||
# Misc
|
||||
# ---------------------------------------------------------------
|
||||
# 2**9 (= 512) validators
|
||||
PTC_SIZE: 512
|
||||
|
||||
# Max operations per block
|
||||
# ---------------------------------------------------------------
|
||||
# 2**2 (= 4) attestations
|
||||
MAX_PAYLOAD_ATTESTATIONS: 4
|
||||
|
||||
# State list lengths
|
||||
# ---------------------------------------------------------------
|
||||
# 2**40 (= 1,099,511,627,776) builder spots
|
||||
BUILDER_REGISTRY_LIMIT: 1099511627776
|
||||
# 2**20 (= 1,048,576) builder pending withdrawals
|
||||
BUILDER_PENDING_WITHDRAWALS_LIMIT: 1048576
|
||||
|
||||
# Withdrawals processing
|
||||
# ---------------------------------------------------------------
|
||||
# 2**14 (= 16,384) builders
|
||||
MAX_BUILDERS_PER_WITHDRAWALS_SWEEP: 16384
|
||||
@@ -1 +1,23 @@
|
||||
# Minimal preset - Gloas
|
||||
|
||||
# Misc
|
||||
# ---------------------------------------------------------------
|
||||
# [customized] 2**1 (= 2) validators
|
||||
PTC_SIZE: 2
|
||||
|
||||
# Max operations per block
|
||||
# ---------------------------------------------------------------
|
||||
# 2**2 (= 4) attestations
|
||||
MAX_PAYLOAD_ATTESTATIONS: 4
|
||||
|
||||
# State list lengths
|
||||
# ---------------------------------------------------------------
|
||||
# 2**40 (= 1,099,511,627,776) builder spots
|
||||
BUILDER_REGISTRY_LIMIT: 1099511627776
|
||||
# 2**20 (= 1,048,576) builder pending withdrawals
|
||||
BUILDER_PENDING_WITHDRAWALS_LIMIT: 1048576
|
||||
|
||||
# Withdrawals processing
|
||||
# ---------------------------------------------------------------
|
||||
# [customized] 2**4 (= 16) builders
|
||||
MAX_BUILDERS_PER_WITHDRAWALS_SWEEP: 16
|
||||
|
||||
Reference in New Issue
Block a user