prysm-pulse/testing
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
..
assert Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
assertions Switch to lazy state balance cache (#9822) 2021-11-19 15:59:26 +00:00
benchmark Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
bls Various clean up before v2 (#9672) 2021-09-24 17:42:16 +00:00
endtoend Web3Signer: CLI implementation (#10056) 2022-01-31 10:44:17 -06:00
mock Eth1 connections (#10073) 2022-01-14 11:13:04 -05:00
require Switch to lazy state balance cache (#9822) 2021-11-19 15:59:26 +00:00
slasher/simulator Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
spectest Implement fork choice spec tests (#10159) 2022-01-31 19:03:48 +00:00
util #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00