2023-05-25 22:14:28 +00:00
|
|
|
# beacon_chain
|
|
|
|
# Copyright (c) 2023 Status Research & Development GmbH
|
|
|
|
# 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.
|
|
|
|
|
2023-01-12 17:58:42 +00:00
|
|
|
# Mainnet preset - Altair
|
2023-11-03 13:54:21 +00:00
|
|
|
# https://github.com/gnosischain/configs/blob/b90374a1c63703db8235fcdb65aff2e909bc42b5/presets/gnosis/altair.yaml
|
2023-01-12 17:58:42 +00:00
|
|
|
const
|
|
|
|
# Updated penalty values
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 3 * 2**24 (= 50,331,648)
|
|
|
|
INACTIVITY_PENALTY_QUOTIENT_ALTAIR*: uint64 = 50331648
|
|
|
|
# 2**6 (= 64)
|
|
|
|
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR*: uint64 = 64
|
|
|
|
# 2
|
|
|
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR*: uint64 = 2
|
|
|
|
|
|
|
|
|
|
|
|
# Sync committee
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**9 (= 512)
|
|
|
|
SYNC_COMMITTEE_SIZE* = 512
|
|
|
|
# 2**8 (= 256)
|
|
|
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD* {.intdefine.}: uint64 = 512
|
|
|
|
|
|
|
|
|
|
|
|
# Sync protocol
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 1
|
|
|
|
MIN_SYNC_COMMITTEE_PARTICIPANTS* = 1
|
|
|
|
# SLOTS_PER_EPOCH * EPOCHS_PER_SYNC_COMMITTEE_PERIOD (= 32 * 256)
|
|
|
|
UPDATE_TIMEOUT*: uint64 = 8192
|