prysm-pulse/testing/spectest
Potuz 99997fa2e3
forkchoice changes (#12126)
* forkchoice changes

* gazelle

* remove best justified from forkchoice dump

* keep protobufs and update comment

* remove phase0 tests

* bumb spectests version

* missing sha

* Fix sha256 for spec

* rpc tests

* Mark field 3 as reserved so it will never be used it again

---------

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-03-16 14:27:30 -03:00
..
general/phase0/bls Spectests: ensure test directories are not empty (#11709) 2022-11-30 17:32:10 +00:00
mainnet forkchoice changes (#12126) 2023-03-16 14:27:30 -03:00
minimal forkchoice changes (#12126) 2023-03-16 14:27:30 -03:00
shared forkchoice changes (#12126) 2023-03-16 14:27:30 -03:00
utils Clean up state types (#11916) 2023-01-26 14:40:12 +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