mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
* write locks * fix forkchoice tests * blockchain locks * lock on IsOptimistic * use forkchoice instead of chaininfo within savehead * Use forkchoice HasNode to check if a block is consistent with finality * interface fix * Use forkchoice HasNode to check if a block is consistent with finality * interface fix * fix tests * remove VerifyFinalizedBlkDescendant * don't write lock wrappers * fix validateBeaconBlock * Terence's review and more missing locks * add lock for InForkChoice * lock head on fillMissingBlockPayload * fix lock on IsOptimisticForRoot * fix lock in fillMissingBlockPayloadId * extra comments * lock proposerBoost on spectests * nishant's review --------- Co-authored-by: Nishant Das <nishdas93@gmail.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