prysm-pulse/beacon-chain
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
..
blockchain Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
cache Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
core #10036 Replace codename Merge with Bellatrix (2nd step) (#10116) 2022-01-26 07:24:47 +00:00
db Remove unused code (#10142) 2022-01-28 14:52:30 +00:00
deterministic-genesis Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
forkchoice Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
gateway Register v1alpha2 endpoints in the gateway (#9768) 2021-10-12 15:13:52 +00:00
monitor Minor cleanups on monitor service (#10013) 2021-12-15 20:42:20 +00:00
node Eth1 connections (#10073) 2022-01-14 11:13:04 -05:00
operations Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
p2p go 1.18 fuzz tests: initial testing (#10063) 2022-01-29 08:01:58 +00:00
package Move Miscellaneous Shared/ Packages Into Semantic Groups (#9624) 2021-09-17 19:20:50 +00:00
powchain Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
rpc Fork Choice Proposer Boost Changes (#10083) 2022-01-29 16:32:01 +00:00
server API Middleware for Keymanager Standard API Endpoints (#9936) 2021-12-07 20:26:21 +00:00
slasher Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
state Fix native state imports (#10140) 2022-01-27 11:02:16 +00:00
sync Bellatrix sync changes (#10097) 2022-01-28 16:26:52 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.