nimbus-eth2/tests/consensus_spec
Etan Kissling 609227559f
LC data fork cleanup (#4506)
Distinguish between those code locations that need to be updated on each
light client data format change, and those others that should generally
be fine, as long as a valid light client object is processed.

The former are tagged with static assert for `LightClientDataFork.high`.

The latter are changed to `lcDataFork > LightClientDataFork.None` to
indicate that they depend only on presence of any valid object.
Also bundled a few minor cleanups and fixes.

Also add `Forky` type for `LightClientStore` and minor fixes / cleanups.
2023-01-14 22:19:50 +01:00
..
altair LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
bellatrix LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
capella LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
eip4844 LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
phase0 consolidate block sanity tests across forks (#4422) 2022-12-14 08:42:25 +01: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 consolidate consensus spec transition test fixtures (#4428) 2022-12-15 22:51:04 +00:00
fixtures_utils.nim consensus spec ref URL update v1.3.0-{alpha.2,rc.0}; copyright year update (#4477) 2023-01-09 22:44:44 +00:00
test_fixture_fork.nim consolidate consensus spec transition test fixtures (#4428) 2022-12-15 22:51:04 +00:00
test_fixture_fork_choice.nim add EIP4844 fork choice tests (#4431) 2022-12-15 10:54:41 +00:00
test_fixture_light_client_single_merkle_proof.nim LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
test_fixture_light_client_sync.nim LC data fork cleanup (#4506) 2023-01-14 22:19:50 +01:00
test_fixture_light_client_update_ranking.nim update LC spec references for v1.2.0-rc.2 (#3982) 2022-08-17 19:47:06 +00:00
test_fixture_sanity_blocks.nim consolidate consensus spec transition test fixtures (#4428) 2022-12-15 22:51:04 +00:00
test_fixture_sanity_slots.nim consolidate slot sanity checks across forks (#4418) 2022-12-13 15:58:59 +00:00
test_fixture_ssz_generic_types.nim stylecheck fixes (#3595) 2022-04-15 12:46:56 +00:00
test_fixture_transition.nim consolidate consensus spec transition test fixtures (#4428) 2022-12-15 22:51:04 +00:00

README.md

Tests based on scenarios generated from the consensus spec.