prysm-pulse/testing/spectest
Potuz 856102cba8
Implement bound on expected withdrawals (#11760)
* Implement bound on expected withdrawals

This PR implements https://github.com/ethereum/consensus-specs/pull/3095

* Terence's suggestion

Co-authored-by: terencechain <terence@prysmaticlabs.com>

* Update spectests

* fix minimal preset

* Clear committee cache during header tests to ensure active validators ain't leaking

* Rm debug log

* Rm bad init

* Update consensus spec sha

* Fix bad tests and remove redundant casting

* Fix build

* MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP typo

Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-12-16 06:45:26 +00:00
..
general/phase0/bls Spectests: ensure test directories are not empty (#11709) 2022-11-30 17:32:10 +00:00
mainnet Spec test: capella and update to v1.3.0-alpha.1 (#11683) 2022-11-30 12:08:04 -08:00
minimal Spec test: capella and update to v1.3.0-alpha.1 (#11683) 2022-11-30 12:08:04 -08:00
shared Implement bound on expected withdrawals (#11760) 2022-12-16 06:45:26 +00:00
utils Implement optimistic sync spectests (#11391) 2022-09-15 05:42:20 +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