prysm-pulse/testing/spectest
Radosław Kapka b92226bedb
getAttestationRewards API endpoint (#12480)
* handler

* very much work in progress

* remove Polish

* thinking

* working but differs from LH

* remove old stuff

* review from Potuz

* validator performance beacon server

* Revert "validator performance beacon server"

This reverts commit 42464cc6d375d7d27a4a781644c27f8b057212a5.

* reuse precompute calculations

* todos

* production quality

* add json tags to AttestationRewards

* Potuz's review

* extract vars

---------

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-06-21 13:16:53 +00:00
..
general/phase0/bls Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
mainnet Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
minimal Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
shared getAttestationRewards API endpoint (#12480) 2023-06-21 13:16:53 +00:00
utils Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +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