nimbus-eth2/tests
Jacek Sieka 83f9745df1
restore doppelganger check on connectivity loss (#4616)
* restore doppelganger check on connectivity loss

https://github.com/status-im/nimbus-eth2/pull/4398 introduced a
regression in functionality where doppelganger detection would not be
rerun during connectivity loss. This PR reintroduces this check and
makes some adjustments to the implementation to simplify the code flow
for both BN and VC.

* track when check was last performed for each validator (to deal with
late-added validators)
* track when we performed a doppel-detectable activity (attesting) so as
to avoid false positives
* remove nodeStart special case (this should be treated the same as
adding a validator dynamically just after startup)

* allow sync committee duties in doppelganger period

* don't trigger doppelganger when registering duties

* fix crash when expected index response is missing

* fix missing slashingSafe propagation
2023-02-20 13:28:56 +02:00
..
consensus_spec rename directory tests/consensus_specs/{eip4844,deneb}/ (#4628) 2023-02-15 21:07:31 +00:00
fork_choice track slot as part of fork choice debug API (#4565) 2023-01-31 12:35:01 +00:00
fuzzing test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
helpers fix ExecutionPayload(Header) JSON serialization (#3679) 2022-06-01 14:57:28 +02:00
mocking rm obsolete interop module (#4570) 2023-02-01 16:29:55 +01:00
simulation Capella metadata for Sepolia (#4615) 2023-02-15 14:44:09 +00:00
slashing_protection use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
all_tests.nim rm obsolete interop module (#4570) 2023-02-01 16:29:55 +01:00
nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
test_action_tracker.nim Fix VC-based sync subnet subscriptions (#4293) 2022-11-08 12:43:38 +01:00
test_attestation_pool.nim rename `BlockError` -> `VerifierError` (#4310) 2022-11-10 17:40:27 +00:00
test_beacon_chain_db.nim rm obsolete interop module (#4570) 2023-02-01 16:29:55 +01:00
test_beacon_time.nim fix countdown over time period (#4449) 2022-12-30 21:36:31 +01:00
test_block_dag.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_block_processor.nim Implement the set of gas_limit end-points in the Keymanager API (#4612) 2023-02-15 15:10:31 +00:00
test_block_quarantine.nim Blob storage (#4454) 2023-01-09 18:42:10 +00:00
test_blockchain_dag.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_conf.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_deposit_snapshots.nim Support for obtaining deposit snapshots during trustedNodeSync (#4303) 2022-12-07 12:24:51 +02:00
test_discovery.nim detect mismatch of config and binary (#4132) 2022-09-19 12:07:46 +03:00
test_engine_authentication.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_eth1_monitor.nim Wire up engine_newPayloadV3 (#4482) 2023-01-11 18:21:19 +00:00
test_eth2_ssz_serialization.nim use isZeroMemory for Eth2Digest comparisons (#3386) 2022-02-14 05:26:19 +00:00
test_exit_pool.nim prioritize REST API-provided BLS to execution changes over gossip-received changes (#4580) 2023-02-03 16:28:28 +01:00
test_forks.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_gossip_transition.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_gossip_validation.nim refactor batch validation not to require genesis_validators_root each time (#4640) 2023-02-20 09:26:22 +01:00
test_helpers.nim remove capella and deneb empty execution payload fallbacks (#4613) 2023-02-13 19:15:16 +02:00
test_honest_validator.nim eip4844 fork and epoch transition tests; some eip4844 gossip (#4393) 2022-12-06 16:43:11 +00:00
test_key_splitting.nim bearssl: split abi (#3755) 2022-06-21 10:29:16 +02:00
test_keymanager_api.nim Implement the set of gas_limit end-points in the Keymanager API (#4612) 2023-02-15 15:10:31 +00:00
test_keystore.nim Keymanager API for the validator client (#3976) 2022-08-19 13:30:07 +03:00
test_keystore_management.nim Exclusive keystore locking (#3907) 2022-08-08 00:53:20 +03:00
test_light_client.nim Capella metadata for Sepolia (#4615) 2023-02-15 14:44:09 +00:00
test_light_client_processor.nim Capella metadata for Sepolia (#4615) 2023-02-15 14:44:09 +00:00
test_message_signatures.nim Implement all sync committee duties in the validator client (#3583) 2022-05-10 10:03:40 +00:00
test_peer_pool.nim proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
test_remote_keystore.nim Keymanager API for the validator client (#3976) 2022-08-19 13:30:07 +03:00
test_serialization.nim nicer error message for failed backfill (#4188) 2022-09-29 23:55:18 +03:00
test_spec.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_statediff.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
test_sync_committee_pool.nim drop subset sync contributions in gossip (#4490) 2023-01-12 15:08:08 +01:00
test_sync_manager.nim EIP4844 sync (#4581) 2023-02-11 20:48:35 +00:00
test_validator_pool.nim restore doppelganger check on connectivity loss (#4616) 2023-02-20 13:28:56 +02:00
test_zero_signature.nim update spec references from eth2.0-specs to consensus-specs and to v1.1.0-beta.2 (#2822) 2021-08-26 10:21:52 +02:00
testblockutil.nim remove capella and deneb empty execution payload fallbacks (#4613) 2023-02-13 19:15:16 +02:00
testdbutil.nim `BeaconStateFork/BeaconBlockFork` -> `ConsensusFork` (#4560) 2023-01-28 19:53:41 +00:00
teststateutil.nim Capella metadata for Sepolia (#4615) 2023-02-15 14:44:09 +00:00
testutil.nim remove Nim 1.2-compatible `push raise`s and update copyright notice years (#4528) 2023-01-20 14:14:37 +00:00