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-01-18 16:31:05 +00:00
|
|
|
# Minimal preset - Bellatrix
|
2024-08-21 12:25:19 +00:00
|
|
|
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/presets/minimal/bellatrix.yaml
|
2021-11-05 16:49:03 +00:00
|
|
|
const
|
|
|
|
# Updated penalty values
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**24 (= 16,777,216)
|
2022-01-18 16:31:05 +00:00
|
|
|
INACTIVITY_PENALTY_QUOTIENT_BELLATRIX*: uint64 = 16777216
|
2021-11-05 16:49:03 +00:00
|
|
|
# 2**5 (= 32)
|
2022-01-18 16:31:05 +00:00
|
|
|
MIN_SLASHING_PENALTY_QUOTIENT_BELLATRIX*: uint64 = 32
|
2021-11-05 16:49:03 +00:00
|
|
|
# 3
|
2022-01-18 16:31:05 +00:00
|
|
|
PROPORTIONAL_SLASHING_MULTIPLIER_BELLATRIX*: uint64 = 3
|
2021-11-05 16:49:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Execution
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**30 (= 1,073,741,824)
|
|
|
|
MAX_BYTES_PER_TRANSACTION* = 1073741824
|
|
|
|
# 2**20 (= 1,048,576)
|
|
|
|
MAX_TRANSACTIONS_PER_PAYLOAD* = 1048576
|
|
|
|
# 2**8 (= 256)
|
|
|
|
BYTES_PER_LOGS_BLOOM* = 256
|
|
|
|
# 2**5 (= 32)
|
|
|
|
MAX_EXTRA_DATA_BYTES* = 32
|