mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
4f7a8cf79d
* register vc duties with subnet tracker * fix activation logging during startup * cache slot signature to avoid duplicate signature work * schedule aggregation duties one slot at a time to avoid CPU spike at each epoch * lower aggregation subnet pre-subscription time to 4 slots (lowers bandwidth and CPU usage) * update stability subnets in ENR on startup * log gossip state * perform gossip subscriptions just before the next slot starts * document stuff * add random include * don't overwrite subscription state when not subscribed * log target gossip state * updating gossip status once is enough * add test * remove syncQueueLen - this one is not updated at the end of the sync and may cause gossip to disconnect itself completely - use a simple head distance instead * fix gossip disconnection - if in hysteresis, node.gossipState will be set to disabled even though we don't disable topic subscriptions * fix extra duty registration call
52 lines
1.7 KiB
Nim
52 lines
1.7 KiB
Nim
# beacon_chain
|
|
# Copyright (c) 2018-2021 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.
|
|
|
|
# All tests except scenarios, which as compiled separately for mainnet and minimal
|
|
|
|
import
|
|
chronicles,
|
|
./testutil
|
|
|
|
import # Unit test
|
|
./ssz/all_tests as ssz_all_tests,
|
|
./test_action_tracker,
|
|
./test_attestation_pool,
|
|
./test_beacon_chain_db,
|
|
./test_beaconstate,
|
|
./test_bitseqs,
|
|
./test_block_pool,
|
|
./test_datatypes,
|
|
./test_discovery,
|
|
./test_eth1_monitor,
|
|
./test_eth2_ssz_serialization,
|
|
./test_exit_pool,
|
|
./test_gossip_validation,
|
|
./test_helpers,
|
|
./test_honest_validator,
|
|
./test_interop,
|
|
./test_keystore,
|
|
./test_message_signatures,
|
|
./test_peer_pool,
|
|
./test_statediff,
|
|
./test_sync_committee_pool,
|
|
./test_sync_manager,
|
|
./test_zero_signature,
|
|
./fork_choice/tests_fork_choice,
|
|
./consensus_spec/all_tests as consensus_all_tests,
|
|
./slashing_protection/test_fixtures,
|
|
./slashing_protection/test_slashing_interchange,
|
|
./slashing_protection/test_slashing_protection_db,
|
|
./slashing_protection/test_migration
|
|
|
|
import # Refactor state transition unit tests
|
|
# In mainnet these take 2 minutes and are empty TODOs
|
|
./spec_block_processing/test_process_deposits,
|
|
./spec_block_processing/test_process_attestation,
|
|
./spec_epoch_processing/test_process_justification_and_finalization
|
|
|
|
summarizeLongTests("AllTests")
|