include minimal testing constants from previous pytests

This commit is contained in:
protolambda 2019-04-07 16:17:42 +10:00
parent c5ab5435a1
commit c5d2696feb
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
1 changed files with 15 additions and 18 deletions

View File

@ -4,14 +4,11 @@
# Misc # Misc
# --------------------------------------------------------------- # ---------------------------------------------------------------
# [customized] Just 8 shards for testing purposes
# Just 8 shards in the minimal testing setup
SHARD_COUNT: 8 SHARD_COUNT: 8
# TODO: minimize other constants
# [customized] unsecure, but fast
# 2**7 ` (= 128) TARGET_COMMITTEE_SIZE: 4
TARGET_COMMITTEE_SIZE: 128
# 2**5 ` (= 32) # 2**5 ` (= 32)
MAX_BALANCE_CHURN_QUOTIENT: 32 MAX_BALANCE_CHURN_QUOTIENT: 32
# 2**12 ` (= 4,096) # 2**12 ` (= 4,096)
@ -57,18 +54,18 @@ BLS_WITHDRAWAL_PREFIX_BYTE: 0x00
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 6 seconds 6 seconds # 6 seconds 6 seconds
SECONDS_PER_SLOT: 6 SECONDS_PER_SLOT: 6
# 2**2 ` (= 4) slots 24 seconds # [customized] 2 slots
MIN_ATTESTATION_INCLUSION_DELAY: 4 MIN_ATTESTATION_INCLUSION_DELAY: 2
# 2**6 ` (= 64) slots 6.4 minutes # [customized] fast epochs
SLOTS_PER_EPOCH: 64 SLOTS_PER_EPOCH: 8
# 2**0 ` (= 1) epochs 6.4 minutes # 2**0 ` (= 1) epochs 6.4 minutes
MIN_SEED_LOOKAHEAD: 1 MIN_SEED_LOOKAHEAD: 1
# 2**2 ` (= 4) epochs 25.6 minutes # 2**2 ` (= 4) epochs 25.6 minutes
ACTIVATION_EXIT_DELAY: 4 ACTIVATION_EXIT_DELAY: 4
# 2**4 ` (= 16) epochs ~1.7 hours # 2**4 ` (= 16) epochs ~1.7 hours
EPOCHS_PER_ETH1_VOTING_PERIOD: 16 EPOCHS_PER_ETH1_VOTING_PERIOD: 16
# 2**13 ` (= 8,192) slots ~13 hours # [customized] smaller state
SLOTS_PER_HISTORICAL_ROOT: 8192 SLOTS_PER_HISTORICAL_ROOT: 64
# 2**8 ` (= 256) epochs ~27 hours # 2**8 ` (= 256) epochs ~27 hours
MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256 MIN_VALIDATOR_WITHDRAWABILITY_DELAY: 256
# 2**11 ` (= 2,048) epochs 9 days # 2**11 ` (= 2,048) epochs 9 days
@ -79,12 +76,12 @@ MAX_CROSSLINK_EPOCHS: 64
# State list lengths # State list lengths
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**13 ` (= 8,192) epochs ~36 days # [customized] smaller state
LATEST_RANDAO_MIXES_LENGTH: 8192 LATEST_RANDAO_MIXES_LENGTH: 64
# 2**13 ` (= 8,192) epochs ~36 days # [customized] smaller state
LATEST_ACTIVE_INDEX_ROOTS_LENGTH: 8192 LATEST_ACTIVE_INDEX_ROOTS_LENGTH: 64
# 2**13 ` (= 8,192) epochs ~36 days # [customized] smaller state
LATEST_SLASHED_EXIT_LENGTH: 8192 LATEST_SLASHED_EXIT_LENGTH: 64
# Reward and penalty quotients # Reward and penalty quotients