2021-03-11 21:22:38 +08:00
|
|
|
# Mainnet preset - Altair
|
2020-12-15 13:18:20 +08:00
|
|
|
|
2021-02-11 14:53:29 -07:00
|
|
|
# Updated penalty values
|
|
|
|
# ---------------------------------------------------------------
|
2021-03-15 11:08:41 +00:00
|
|
|
# 3 * 2**24 (= 50,331,648)
|
2021-03-15 11:46:53 -06:00
|
|
|
INACTIVITY_PENALTY_QUOTIENT_ALTAIR: 50331648
|
2021-02-11 14:53:29 -07:00
|
|
|
# 2**6 (= 64)
|
2021-03-15 11:46:53 -06:00
|
|
|
MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64
|
2021-02-11 14:53:29 -07:00
|
|
|
# 2
|
2021-03-15 11:46:53 -06:00
|
|
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
2021-02-11 14:53:29 -07:00
|
|
|
|
|
|
|
|
2021-05-05 19:53:37 +08:00
|
|
|
# Sync committee
|
2020-12-15 13:18:20 +08:00
|
|
|
# ---------------------------------------------------------------
|
2021-05-01 16:30:23 -07:00
|
|
|
# 2**9 (= 512)
|
|
|
|
SYNC_COMMITTEE_SIZE: 512
|
2021-05-10 07:38:32 -06:00
|
|
|
# 2**9 (= 512)
|
|
|
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 512
|
2020-12-15 13:18:20 +08:00
|
|
|
|
|
|
|
|
2021-05-05 19:53:37 +08:00
|
|
|
# Misc
|
2020-12-15 13:18:20 +08:00
|
|
|
# ---------------------------------------------------------------
|
2021-05-05 19:53:37 +08:00
|
|
|
# 2**2 (= 4)
|
|
|
|
INACTIVITY_SCORE_BIAS: 4
|
2020-12-15 13:18:20 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Signature domains
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
DOMAIN_SYNC_COMMITTEE: 0x07000000
|
2021-03-23 20:52:03 +08:00
|
|
|
DOMAIN_SYNC_COMMITTEE_SELECTION_PROOF: 0x08000000
|
|
|
|
DOMAIN_CONTRIBUTION_AND_PROOF: 0x09000000
|
2021-03-11 21:04:16 +08:00
|
|
|
|
|
|
|
|
2021-03-13 01:21:04 +08:00
|
|
|
# Fork
|
|
|
|
# ---------------------------------------------------------------
|
2021-03-30 13:48:40 +08:00
|
|
|
# 0x01000000
|
2021-03-13 01:21:04 +08:00
|
|
|
ALTAIR_FORK_VERSION: 0x01000000
|
|
|
|
# TBD
|
2021-04-21 00:24:44 +08:00
|
|
|
ALTAIR_FORK_EPOCH: 18446744073709551615
|
2021-03-13 01:21:04 +08:00
|
|
|
|
|
|
|
|
2021-03-11 21:04:16 +08:00
|
|
|
# Sync protocol
|
|
|
|
# ---------------------------------------------------------------
|
2021-03-13 01:21:04 +08:00
|
|
|
# 1
|
|
|
|
MIN_SYNC_COMMITTEE_PARTICIPANTS: 1
|
2021-04-12 15:27:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
# Validator
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
# 2**2 (= 4)
|
|
|
|
TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: 4
|