prysm-pulse/beacon-chain/rpc/eth/beacon
Raul Jordan 65ec437ce5
Fork Choice Proposer Boost Changes (#10083)
* 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

* ex ante

* test

* propoer test

* 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

* boost necessary to sandwich unit test

* sad path

* gaz

* Update beacon-chain/forkchoice/protoarray/proposer_boost.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/forkchoice/protoarray/proposer_boost_test.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* gaz

* radek comments

* reset boosted root in on new slot

* pass

* broken tests

* cfg test

* modify e2e config

* Revert e2e changes

* Test

* Test again

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-01-29 16:32:01 +00:00
..
blocks_test.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
blocks.go #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
BUILD.bazel Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
config_test.go Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
config.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
init_test.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
log.go Remove beacon-chain/rpc/eth/v1 directory (#9392) 2021-08-16 13:11:25 +02:00
pool_test.go Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
pool.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
server_test.go Remove beacon-chain/rpc/eth/v1 directory (#9392) 2021-08-16 13:11:25 +02:00
server.go Implement SubmitPoolSyncCommitteeSignatures in the beacon API (#9464) (#9503) 2021-09-02 16:54:53 +00:00
state_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
state.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
sync_committee_test.go Fix sync commitee endpoint (#10015) 2021-12-18 17:04:30 +01:00
sync_committee.go refactoring: Deduplicate code (#10090) 2022-01-16 18:44:42 +00:00
validator_test.go eth2 api: use balance instead of effective balance (#9722) 2021-10-04 20:57:40 +00:00
validator.go eth2 api: use balance instead of effective balance (#9722) 2021-10-04 20:57:40 +00:00