prysm-pulse/testing/spectest
Preston Van Loon 51581e9b6e
Spectest: refactor forkchoice helper (#10616)
* Seperate forkchoice builder for lower cognitive score and better reusablity

* gaz

* deepsource resolutions

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-03 20:59:07 +00:00
..
general/phase0/bls Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
mainnet Graduate Balance Trie Feature (#10552) 2022-04-25 11:16:41 +02:00
minimal Spectest: Improve test size and timeouts (#10461) 2022-03-30 20:04:42 +00:00
shared Spectest: refactor forkchoice helper (#10616) 2022-05-03 20:59:07 +00:00
utils Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04: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