prysm-pulse/testing/spectest
Potuz 047cae5e8b
Sign BLS_TO_EXECUTION_CHANGES with GENESIS_FORK_VERSION (#11870)
* Sign BLS_TO_EXECUTION_CHANGES with GENESIS_FORK_VERSION

* update spectests

* extra blank line

* fix consensus_specs_sha

* get rid of LightClients tests

* fix unit tests

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-16 14:29:33 +00:00
..
general/phase0/bls Spectests: ensure test directories are not empty (#11709) 2022-11-30 17:32:10 +00:00
mainnet Add historical summaries to state and processing (#11842) 2023-01-11 22:20:15 +00:00
minimal Add historical summaries to state and processing (#11842) 2023-01-11 22:20:15 +00:00
shared Sign BLS_TO_EXECUTION_CHANGES with GENESIS_FORK_VERSION (#11870) 2023-01-16 14:29:33 +00:00
utils Implement optimistic sync spectests (#11391) 2022-09-15 05:42:20 +00:00
README.md Move Spectests Into a Testing/ Folder (#9582) 2021-09-14 16:02:58 +00:00

Spec Tests

Spec testing vectors: https://github.com/ethereum/consensus-spec-tests

To run all mainnet spec tests:

bazel test //... --test_tag_filters=spectest

Minimal tests require --define ssz=minimal setting and are not triggered automatically when //... is selected. One can run minimal tests manually, though:

bazel query 'tests(attr("tags", "minimal, spectest", //...))' | xargs bazel test --define ssz=minimal