2023-05-25 22:14:28 +00:00
|
|
|
# beacon_chain
|
2024-01-06 14:26:56 +00:00
|
|
|
# Copyright (c) 2022-2024 Status Research & Development GmbH
|
2023-05-25 22:14:28 +00:00
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
2024-02-21 19:44:48 +00:00
|
|
|
{.push raises: [].}
|
|
|
|
|
2022-10-27 06:29:24 +00:00
|
|
|
# Mainnet preset - Capella
|
2024-11-24 12:16:09 +00:00
|
|
|
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.9/presets/mainnet/capella.yaml
|
2022-10-27 06:29:24 +00:00
|
|
|
const
|
|
|
|
# Max operations per block
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**4 (= 16)
|
|
|
|
MAX_BLS_TO_EXECUTION_CHANGES* = 16
|
|
|
|
|
|
|
|
|
|
|
|
# Execution
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**4 (= 16) withdrawals
|
|
|
|
MAX_WITHDRAWALS_PER_PAYLOAD* = 16
|
2022-12-15 01:51:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Withdrawals processing
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**14 (= 16384) validators
|
|
|
|
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP* = 16384
|