prysm-pulse/testing/spectest/shared/common/forkchoice
Potuz 0a87210514
Forkchoice external locks v2 (#12036)
* 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>
2023-03-02 09:10:52 -03:00
..
BUILD.bazel Use payload attribute type for engine-API (#11719) 2022-12-08 21:39:45 +00:00
builder_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
builder.go Forkchoice external locks v2 (#12036) 2023-03-02 09:10:52 -03:00
runner.go Rename block interfaces (#11975) 2023-02-09 10:23:32 +01:00
service.go Rename block interfaces (#11975) 2023-02-09 10:23:32 +01:00
type.go Implement optimistic sync spectests (#11391) 2022-09-15 05:42:20 +00:00