prysm-pulse/beacon-chain
james-prysm d6ae838bbf
replace receive slot with event stream (#13563)
* WIP

* event stream wip

* returning nil

* temp removing some tests

* wip health checks

* fixing conficts

* updating fields based on linting

* fixing more errors

* fixing mocks

* fixing more mocks

* fixing more linting

* removing white space for lint

* fixing log format

* gaz

* reverting changes on grpc

* fixing unit tests

* adding in tests for health tracker and event stream

* adding more tests for streaming slot

* gaz

* Update api/client/event/event_stream.go

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

* review comments

* Update validator/client/runner.go

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

* Update validator/client/validator.go

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

* Update validator/client/validator.go

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

* Update validator/client/validator.go

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

* Update validator/client/validator.go

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

* Update validator/client/beacon-api/beacon_api_validator_client.go

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

* Update validator/client/validator.go

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

* Update validator/client/validator.go

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

* addressing radek comments

* Update validator/client/validator.go

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

* addressing review feedback

* moving things to below next slot ticker

* fixing tests

* update naming

* adding TODO comment

* Update api/client/beacon/health.go

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

* addressing comments

* fixing broken linting

* fixing more import issues

* fixing more import issues

* linting

* updating based on radek's comments

* addressing more comments

* fixing nogo error

* fixing duplicate import

* gaz

* adding radek's review suggestion

* Update proto/prysm/v1alpha1/node.proto

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* preston review comments

* Update api/client/event/event_stream.go

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* Update validator/client/validator.go

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* addressing some more preston review items

* fixing tests for linting

* fixing missed linting

* updating based on feedback to simplify

* adding interface check at the top

* reverting some comments

* cleaning up intatiations

* reworking the health tracker

* fixing linting

* fixing more linting to adhear to interface

* adding interface check at the the top of the file

* fixing unit tests

* attempting to fix dependency cycle

* addressing radek's comment

* Update validator/client/beacon-api/beacon_api_validator_client.go

Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>

* adding more tests and feedback items

* fixing TODO comment

---------

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-03-13 13:01:05 +00:00
..
blockchain only update head at 10 seconds when validating (#13570) 2024-03-12 15:11:40 +00:00
builder Update to V5 (#13622) 2024-02-15 05:46:47 +00:00
cache only update head at 10 seconds when validating (#13570) 2024-03-12 15:11:40 +00:00
core Compute unrealized checkpoints with pcli (#13692) 2024-03-12 15:03:21 +00:00
das Remove unused deneb code (#13712) 2024-03-09 00:12:26 +00:00
db Remove unused deneb code (#13712) 2024-03-09 00:12:26 +00:00
deterministic-genesis Update to V5 (#13622) 2024-02-15 05:46:47 +00:00
execution chore(execution): Clean up unreachable code; use new(big.Int) instead of big.NewInt(0) (#13715) 2024-03-11 00:31:55 +00:00
forkchoice Do not check parent weight on early FCU (#13683) 2024-03-05 15:07:39 +00:00
gateway move setting route handlers to registration from start (#13676) 2024-02-28 11:30:31 +00:00
monitor Unify log fields (#13654) 2024-02-22 22:40:36 +00:00
node move setting route handlers to registration from start (#13676) 2024-02-28 11:30:31 +00:00
operations Unify log fields (#13654) 2024-02-22 22:40:36 +00:00
p2p Remove unused deneb code (#13712) 2024-03-09 00:12:26 +00:00
package Update cross compile toolchains (#12069) 2023-03-07 20:09:46 +00:00
rpc replace receive slot with event stream (#13563) 2024-03-13 13:01:05 +00:00
slasher Slasher: Reduce surrounding/surrounded attestations processing time (#13629) 2024-02-21 15:12:37 +00:00
startup Update to V5 (#13622) 2024-02-15 05:46:47 +00:00
state Check Unrealized Justification Balances In Spectests (#13710) 2024-03-08 14:49:34 +00:00
sync Add blob index to file path (#13736) 2024-03-13 06:36:43 +00:00
verification Blob verification spectest (#13707) 2024-03-08 18:20:38 +00: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.