prysm-pulse/testing/spectest
kasey 0e043d55b4
VerifiedROBlobs in initial-sync (#13351)
* Use VerifiedROBlobs in initial-sync

* Update beacon-chain/das/cache.go

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* Apply suggestions from code review

comment fixes

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* fix lint error from gh web ui

* deepsource fixes

* more deepsource

* fix init wiring

* mark blobless blocks verified in batch mode

* move sig check after parent checks

* validate block commitment length at start of da check

* remove vestigial locking

* rm more copy-locksta

* rm old comment

* fail the entire batch if any sidecar fails

* lint

* skip redundant checks, fix len check

* assume sig and proposer checks passed for block

* inherits most checks from processed block

* Assume block processing handles most checks

* lint

* cleanup unused call and gaz

* more detailed logging for e2e

* fix bad refactor breaking non-finalized init-sync

* self-review cleanup

* gaz

* Update beacon-chain/verification/blob.go

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* terence and justin feedback

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-01-06 23:47:09 +00:00
..
general Add RO blob sidecar (#13144) 2023-11-01 10:03:49 -07:00
mainnet Verified roblobs (#13190) 2023-11-21 18:44:38 +00:00
minimal Implement Merkle proof spectests (#13146) 2023-11-02 23:08:16 +00:00
shared VerifiedROBlobs in initial-sync (#13351) 2024-01-06 23:47:09 +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