mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
fec933432d
Updated outdated presets / configs / REST config to v1.1.10 specs. - `TERMINAL_BLOCK_HASH_ACTIVATION_EPOCH` and `PROPOSER_SCORE_BOOST` are not yet used in `eth2-networks`, added configurability as TODOs. - `MIN_ANCHOR_POW_BLOCK_DIFFICULTY` is no longer needed, put on ignore list as some Altair devnets still reference it.
28 lines
872 B
Nim
28 lines
872 B
Nim
# Minimal preset - Altair
|
|
# https://github.com/ethereum/consensus-specs/blob/v1.1.10/presets/minimal/altair.yaml
|
|
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
|
|
# ---------------------------------------------------------------
|
|
# [customized]
|
|
SYNC_COMMITTEE_SIZE* = 32
|
|
# [customized]
|
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD* {.intdefine.}: uint64 = 8
|
|
|
|
|
|
# Sync protocol
|
|
# ---------------------------------------------------------------
|
|
# 1
|
|
MIN_SYNC_COMMITTEE_PARTICIPANTS* = 1
|
|
# SLOTS_PER_EPOCH * EPOCHS_PER_SYNC_COMMITTEE_PERIOD (= 8 * 8)
|
|
UPDATE_TIMEOUT*: uint64 = 64
|