prysm-pulse/testing/spectest
Potuz 0165351db3
Setup Optimistic sync when starting the service (#10397)
* Load Last Validated Checkpoint at service startup and initialize
Forkchoice

* fix spectests

* Update service_test.go

* wip

* Fix blockchain tests

* remove unnecessary summary saves

* Terence's suggestion

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-03-23 21:11:36 +00:00
..
general/phase0/bls Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
mainnet Bellatrix fork choice spec tests (#10381) 2022-03-17 05:30:44 +00:00
minimal Bellatrix fork choice spec tests (#10381) 2022-03-17 05:30:44 +00:00
shared Setup Optimistic sync when starting the service (#10397) 2022-03-23 21:11:36 +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