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
|
|
|
# Minimal preset - Capella
|
2024-02-21 19:44:48 +00:00
|
|
|
# https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.7/presets/minimal/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
|
|
|
|
# ---------------------------------------------------------------
|
2022-11-21 07:44:49 +00:00
|
|
|
# [customized] 2**2 (= 4)
|
|
|
|
MAX_WITHDRAWALS_PER_PAYLOAD* = 4
|
2022-12-15 01:51:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Withdrawals processing
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# [customized] 2**4 (= 16) validators
|
|
|
|
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP* = 16
|