prysm-pulse/beacon-chain
Radosław Kapka f09b06d6f6
Allow SSZ-serialized blocks in publishBlindedBlock (#10679)
* SubmitBlockSSZ grpc

* SubmitBlockSSZ middleware

* test fixes

* use VersionedUnmarshaller

* use VersionedUnmarshaller

(cherry picked from commit 7388eeb9636ac43fb85f8245ccda4a14ca68a190)

* tests

* fuzz: Add fuzz tests for sparse merkle trie (#10662)

* Add fuzz tests for sparse merkle trie and change HTR signature to return an error

* fix capitalization of error message

* Add engine timeout values (#10645)

* Add timeout values

* Update engine_client.go

* Update engine_client.go

* Update beacon-chain/powchain/engine_client.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/powchain/engine_client.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/powchain/engine_client.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update engine_client.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Cleanup of `stategen` package (#10607)

* powchain and stategen

* revert powchain changes

* rename field to blockRootsOfSavedStates

* rename params to blockRoot

* review feedback

* fix loop

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* Process atts and update head before proposing (#10653)

* Process atts and updeate head

* Fix ctx

* New test and old tests

* Update validator_test.go

* Update validator_test.go

* Update service.go

* Rename to UpdateHead

* Update receive_attestation.go

* Update receive_attestation.go

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* Add link to e2e docs in `README` (#10672)

* Improve `ReceiveBlock`'s comment (#10671)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* Call fcu on invalid payload (#10565)

* Starting

* remove finalized root

* Just call fcu

* Review feedbacks

* fix one test

* Fix conflicts

* Update execution_engine_test.go

* Add a test for invalid recursive call

* Add comprehensive recursive test

* dissallow override empty hash

Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* Cache and use justified and finalized payload block hash (#10657)

* Cache and use justified and finalized payload block hash

* Fix tests

* Use real byte

* Fix conflicts

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>

* do not export slotFromBlock

* simplify tests

* grpc

* middleware

* extract package-level consts

* Simplify SSZ handling

* fix tests

* test fixes

* test hack

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-05-16 17:59:43 +00:00
..
blockchain fee-recipient: update error log to warn log (#10684) 2022-05-16 14:40:13 +00:00
cache fuzz: Add fuzz tests for sparse merkle trie (#10662) 2022-05-09 16:51:48 +00:00
core fuzz: Add fuzz tests for sparse merkle trie (#10662) 2022-05-09 16:51:48 +00:00
db Deduplicate native state (a.k.a. One State to rule them all) (#10483) 2022-05-09 13:02:34 +00:00
deterministic-genesis Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
forkchoice regression test off-by-one (#10675) 2022-05-12 15:49:37 +00:00
gateway Register v1alpha2 endpoints in the gateway (#9768) 2021-10-12 15:13:52 +00:00
monitor Use Single Beacon Block Wrapper Function Across Prysm (#10608) 2022-05-04 11:55:35 +08:00
node Extract OptimisticSyncFetcher interface (#10654) 2022-05-12 17:23:45 +00:00
operations Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
p2p Fix bugs in /eth/v1/beacon/blinded_blocks (#10673) 2022-05-13 18:20:39 +00:00
package Move Miscellaneous Shared/ Packages Into Semantic Groups (#9624) 2021-09-17 19:20:50 +00:00
powchain Remove invalid terminal block error code (#10646) 2022-05-15 03:14:44 +00:00
rpc Allow SSZ-serialized blocks in publishBlindedBlock (#10679) 2022-05-16 17:59:43 +00:00
server API Middleware for Keymanager Standard API Endpoints (#9936) 2021-12-07 20:26:21 +00:00
slasher Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
state Unify WARNING comments (#10678) 2022-05-12 15:25:44 +00:00
sync Fix error.Is ordering (#10685) 2022-05-12 22:43:34 +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.