nimbus-eth2/tests/consensus_spec
Etan Kissling 9924aec1e3
extend light client protocol for Electra (#6375)
* extend light client protocol for Electra

Add missing Electra support for light client protocol:

- https://github.com/ethereum/consensus-specs/pull/3811

Tested against PR consensus-spec-tests, the test runner automatically
picks up the new tests once available.

* workaround `version-2-0`: `Error: cannot instantiate: 'SomeUnsignedInt'`

* fix initialization when Electra not scheduled

* try reduce stack size in test

* put correct sync committee branch version into DB

* adjust fork schedule in light client data tests

* further reduce stack size

* split function into multiple parts

* rename variable

* regenerate test reports to cover new Electra tests

* add Nim bug reference
2024-06-26 19:02:03 +00:00
..
altair extend light client protocol for Electra (#6375) 2024-06-26 19:02:03 +00:00
bellatrix stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
capella stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
deneb stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
electra use EF consensus-specs v1.5.0-alpha.3 test vectors (#6362) 2024-06-16 00:15:27 +02:00
phase0 stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
README.md test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
all_tests.nim add trivial `{.push raises: [].}` to `research` and `test` folders (#5988) 2024-02-29 13:24:08 +00:00
consensus_spec_tests_preset.nim add Electra SSZ object test fixture (#6225) 2024-04-22 09:00:38 +00:00
fixtures_utils.nim add Electra to ConsensusFork enum (#6169) 2024-04-03 16:43:43 +02:00
os_ops.nim avoid forgetting to quit in `os_ops` tools if log fails (#5986) 2024-02-28 16:04:34 +00:00
test_fixture_fork.nim add EF consensus spec test Electra fork and transition fixtures (#6251) 2024-04-28 16:13:17 +02:00
test_fixture_fork_choice.nim Revert "bump nim-kzg4844 for gcc-14 compatibility (#6342)" (#6360) 2024-06-14 23:23:19 +00:00
test_fixture_kzg.nim Revert "bump nim-kzg4844 for gcc-14 compatibility (#6342)" (#6360) 2024-06-14 23:23:19 +00:00
test_fixture_light_client_data_collection.nim add test runner for LC data collection tests (#6021) 2024-03-05 15:41:09 +01:00
test_fixture_light_client_single_merkle_proof.nim rename ElectraIndexedAttestation/ElectraAttesterSlashing for consistency (#6252) 2024-04-29 04:19:10 +02:00
test_fixture_light_client_sync.nim explicitly mention `{.raises.}` in `tests` folder (#5990) 2024-02-29 10:28:32 +00:00
test_fixture_light_client_update_ranking.nim explicitly mention `{.raises.}` in `tests` folder (#5990) 2024-02-29 10:28:32 +00:00
test_fixture_merkle_proof.nim explicitly mention `{.raises.}` in `tests` folder (#5990) 2024-02-29 10:28:32 +00:00
test_fixture_sanity_blocks.nim some debugRaiseAssert to debugComment; unblock some spec tests (#6284) 2024-05-14 12:19:24 +03:00
test_fixture_sanity_slots.nim add Electra slot sanity tests (#6230) 2024-04-23 07:58:32 +00:00
test_fixture_ssz_generic_types.nim handle `scanf` exceptions in `test_fixture_ssz_generic_types` (#5993) 2024-02-29 10:47:00 +00:00
test_fixture_transition.nim add EF consensus spec test Electra fork and transition fixtures (#6251) 2024-04-28 16:13:17 +02:00

README.md

Tests based on scenarios generated from the consensus spec.