prysm-pulse/testing/spectest
terence tsao 84335b0084
Bellatrix spec tests (#10014)
* Add merge spectests

* fix build

* gazelle

* operation

* all tests should pass

* go fmt

* fix test

* fix dependency

* rm unused constants

* rename to bellatrix

* Gaz

* Rm unused files

* Use Bellatrix for test names

* Add more spec tests

* Gaz and fix test

* sync with dev

* Preston's feedback

* Go fmt

* sync with dev

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-10 18:27:08 +00:00
..
general/phase0/bls Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
mainnet Bellatrix spec tests (#10014) 2022-01-10 18:27:08 +00:00
minimal Bellatrix spec tests (#10014) 2022-01-10 18:27:08 +00:00
shared Bellatrix spec tests (#10014) 2022-01-10 18:27:08 +00:00
utils Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +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