prysm-pulse/beacon-chain/operations/attestations
terence tsao 8a01d412f5
Implement fork choice spec tests (#10159)
* starting

* Reimplement store

* begin on proposer boost

* implement fork choice proposer boost algorithm

* boosting

* gaz

* add mutexes and previous root

* comment on compute proposer boost

* safe

* rem todo

* reset and add tests

* unit test for proposer boost score

* boost works

* Can process block

* Basic test case passing

* ex ante

* test

* propoer test

* More progresses

* More fixes

* rm unused pieces

* Refactor, add phase 0

* locks

* vanilla ex-ante attack

* test similar to spec test

* works works works

* boost test working for num votes > proposer boost weight

* commentary fixes

* rem unused

* comments

* Proposer boost use store time

* Reset proposer root

* debugging

* passing

* Rm unused visibility imports

* Move update head to better place

* Fix deepsrc complains

* Fix more complains

* Raul's feedback

* Use correct byte lengths

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-01-31 19:03:48 +00:00
..
kv Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
mock Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
BUILD.bazel Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
log.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
metrics.go Embed Config Pattern For Attestation, POW Chain, and RPC Services (#8635) 2021-03-21 16:58:41 +00:00
pool_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
pool.go Move v1alpha1 into Prysm API namespace (#9245) 2021-07-21 21:34:07 +00:00
prepare_forkchoice_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
prepare_forkchoice.go Move block and attestation to proto v1alpha1 folder (#9618) 2021-09-20 16:17:03 +00:00
prune_expired_test.go Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
prune_expired.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
service_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
service.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00