mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-05-02 03:02:54 -04:00
* 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>
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