nimbus-eth2/tests/consensus_spec
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
..
altair introduce types for LC merkle proofs (#3808) 2022-06-28 07:52:23 +02:00
bellatrix remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
phase0 remove unused imports in tests/ (#3713) 2022-06-07 17:05:06 +00:00
README.md test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
all_tests.nim add Bellatrix fork and transition tests; "Ethereum Foundation" -> EF (#3242) 2022-01-05 09:42:56 +01:00
consensus_spec_tests_preset.nim exists{Dir,File} -> {dir,file}Exists; rm unused imports (#3543) 2022-03-24 00:38:48 +00:00
fixtures_utils.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
test_fixture_fork_choice.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
test_fixture_ssz_generic_types.nim stylecheck fixes (#3595) 2022-04-15 12:46:56 +00:00

README.md

Tests based on scenarios generated from the consensus spec.