prysm-pulse/testing/spectest
terence tsao 376d248c22
Add in progress handler to committee cache (#9664)
* Add in progress handler for committee cache

* Remove debug print

* Update validators.go

* Fix all the tests

* More tests

* Update committee_disabled.go

* Update committee_disabled.go

* Update testing util

* Update main.go

Co-authored-by: Nishant Das <nishdas93@gmail.com>
2021-09-26 23:27:57 +08:00
..
general/phase0/bls Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
mainnet Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
minimal Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
shared Add in progress handler to committee cache (#9664) 2021-09-26 23:27:57 +08: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