nimbus-eth2/tests
Etan Kissling 2a2bcea70d
group justified and finalized `Checkpoint` (#3841)
The justified and finalized `Checkpoint` are frequently passed around
together. This introduces a new `FinalityCheckpoint` data structure that
combines them into one.

Due to the large usage of this structure in fork choice, also took this
opportunity to update fork choice tests to the latest v1.2.0-rc.1 spec.
Many additional tests enabled, some need more work, e.g. EL mock blocks.
Also implemented `discard_equivocations` which was skipped in #3661,
and improved code reuse across fork choice logic while at it.
2022-07-06 13:33:02 +03:00
..
consensus_spec group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
fork_choice group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03: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 CL spec URL updates to v1.2.0-rc.1 (#3655) 2022-05-23 19:30:24 +00:00
simulation stop using --rpc in run-beacon-node and simulations (#3662) 2022-05-24 16:21:55 +00:00
slashing_protection use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
spec_block_processing fix unnecessary HashList/HashArray cache invalidation (#3660) 2022-05-30 13:30:42 +00:00
spec_epoch_processing remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
all_tests.nim Correct parsing of the `weak-subjectivity-checkpoint` parameter (#3765) 2022-06-17 14:55:03 +03:00
nim.cfg enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_action_tracker.nim fix action tracker validator decay (#3792) 2022-06-23 14:08:13 +02:00
test_attestation_pool.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
test_beacon_chain_db.nim use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
test_beacon_time.nim add `start_slot` overload for sync periods (#3469) 2022-03-08 11:38:58 +01:00
test_block_clearance_light_client.nim keep track of latest blocks for optimistic sync (#3715) 2022-06-10 14:16:37 +00:00
test_block_dag.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_block_processor.nim optimistic sync (#3793) 2022-07-04 23:35:33 +03:00
test_block_quarantine.nim use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
test_blockchain_dag.nim use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
test_conf.nim include capella fork version in fork consistency check (#3772) 2022-06-18 10:05:33 +00:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_discovery.nim bearssl: split abi (#3755) 2022-06-21 10:29:16 +02:00
test_engine_authentication.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_eth1_monitor.nim fix ExecutionPayload(Header) JSON serialization (#3679) 2022-06-01 14:57:28 +02:00
test_eth2_ssz_serialization.nim use isZeroMemory for Eth2Digest comparisons (#3386) 2022-02-14 05:26:19 +00:00
test_exit_pool.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_forks.nim rename MERGE_FORK_EPOCH to BELLATRIX_FORK_EPOCH (#3350) 2022-02-02 14:06:55 +01:00
test_gossip_transition.nim rename Beacon{Block,State}Fork.Merge to Bellatrix; update copyright years (#3240) 2022-01-04 09:45:38 +00:00
test_gossip_validation.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
test_helpers.nim bump nim-ssz-serialization to `3db6cc0f282708aca6c290914488edd832971d61` (#3119) 2022-06-26 19:33:06 +02:00
test_honest_validator.nim update to latest light client libp2p protocol (#3623) 2022-05-23 14:02:54 +02:00
test_interop.nim stylecheck fixes (#3593) 2022-04-14 17:39:37 +02:00
test_key_splitting.nim bearssl: split abi (#3755) 2022-06-21 10:29:16 +02:00
test_keymanager_api.nim Fix #3760. (#3768) 2022-06-19 09:08:21 +03:00
test_keystore.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_keystore_management.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_light_client.nim encapsulate LC config into one type (#3817) 2022-06-28 22:52:29 +02:00
test_light_client_processor.nim encapsulate LC config into one type (#3817) 2022-06-28 22:52:29 +02: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 remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
test_spec.nim cleanups (#3819) 2022-06-29 18:53:59 +02:00
test_statediff.nim remove StateData (#3507) 2022-03-16 08:20:40 +01:00
test_sync_committee_pool.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_sync_manager.nim sync: remove `step` from sync client implementation (#3678) 2022-06-06 16:56:59 +03: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 cleanups (#3819) 2022-06-29 18:53:59 +02:00
testdbutil.nim use ZERO_HASH for default(Eth2Digest)/Eth2Digest() in func calls (#3770) 2022-06-18 04:57:37 +00:00
teststateutil.nim remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
testutil.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00