prysm-pulse/beacon-chain/state/stategen
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
..
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
epoch_boundary_state_cache_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
epoch_boundary_state_cache.go State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
errors.go Fix Miscellaneous Deep Source Issues (#8007) 2020-11-30 19:55:30 -06:00
getter_test.go Monitor attestations (#9901) 2021-11-18 22:14:56 -03:00
getter.go Monitor attestations (#9901) 2021-11-18 22:14:56 -03:00
hot_state_cache_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
hot_state_cache.go add lru (#9592) 2021-09-14 18:11:25 -05:00
init_test.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
log.go Feature flag to gate prune state upon start up (#5011) 2020-03-05 06:24:59 +00:00
metrics.go Cleanup stategen pkg (#7127) 2020-08-27 22:29:59 +00:00
migrate_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migrate.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
replay_test.go Update stategen for Bellatrix (#10089) 2022-01-19 22:18:11 +00:00
replay.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
service_test.go Share finalized state at start up (#9843) 2021-11-06 13:45:16 +00:00
service.go Monitor attestations (#9901) 2021-11-18 22:14:56 -03:00
setter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
setter.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00