Go to file
Ivan Martinez 2f10b1c7b1
Change gogoproto compiler to protoc-gen-go-cast (#8697)
* Remove gogoproto compiler

* Remove more gogoproto

* Improvements

* Fix gengo

* More scripts

* Gazelle, fix deps

* Fix version and errors

* Fix gocast for arrays

* Fix ethapis

* Fixes

* Fix compile errors

* fix go.mod

* //proto/... builds

* Update for protov2

* temp fix compilation to move on

* Change everything to emptypb.empty

* Add grpc to proto/slashings

* Fix almost all build failures

* Oher build problems

* FIX THIS FUCKING THING

* gaz literally every .bazel

* Final touches

* Final final touches

* Fix proto

* Begin moving proto.Marshal to native

* Fix site_data

* Fixes

* Fix duplicate gateway

* Fix gateway target

* Fix ethapis

* Fixes from review

* Update

* Fix

* Fix status test

* Fix fuzz

* Add isprotoslice to fun

* Change DeepEqual to DeepSSZEqual for proto arrays

* Fix build

* Fix gaz

* Update go

* Fixes

* Fixes

* Add case for nil validators after copy

* Fix cast

* Fix test

* Fix imports

* Go mod

* Only use extension where needed

* Fixes

* Split gateway from gengo

* gaz

* go mod

* Add back hydrated state

* fix hydrate

* Fix proto.clone

* Fies

* Revert "Split gateway from gengo"

This reverts commit 7298bb2054d446e427d9af97e13b8fabe8695085.

* Revert "gaz"

This reverts commit ca952565701a88727e22302d6c8d60ac48d97255.

* Merge all gateway into one target

* go mod

* Gaz

* Add generate v1_gateway files

* run pb again

* goimports

* gaz

* Fix comments

* Fix protos

* Fix PR

* Fix protos

* Update grpc-gateway and ethapis

* Update ethapis and gen-go-cast

* Go tidy

* Reorder

* Fix ethapis

* fix spec tests

* Fix script

* Remove unused import

* Fix fuzz

* Fix gomod

* Update version

* Error if the cloned result is nil

* Handle optional slots

* ADd more empty checks to clone

* Undo fuzz changes

* Fix build.bazel

* Gaz

* Redo fuzz changes

* Undo some eth1data changes

* Update go.mod

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

* Undo clone beacon state

* Remove gogo proto more and unused v1_gateway

* Add manual fix for nil vals

* Fix gaz

* tidy

* Tidy again

* Add detailed error

* Revert "Add detailed error"

This reverts commit 59bc053dcd59569a54c95b07739d5a379665ec5d.

* Undo varint changes

* Fix nil validators in deposit test

* Commit

* Undo

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-05-17 18:32:04 +00:00
.github Invert BLST Go Tag (#8725) 2021-04-11 11:11:15 +00:00
.well-known Update security.txt (#7956) 2020-11-25 17:38:35 +00:00
beacon-chain Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
cmd Various code cleanups (#8889) 2021-05-13 08:29:14 +02:00
contracts Update rules_go and fix proto conflicts (#8596) 2021-03-11 18:03:19 -06:00
endtoend Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
fuzz Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
proto Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
scripts Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
shared Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
slasher Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
spectest Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
third_party Fix rules_docker dependency. See bazelbuild/rules_docker#1814 (#8867) 2021-05-07 17:38:22 +00:00
tools Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
validator Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
.bazelrc Invert BLST Go Tag (#8725) 2021-04-11 11:11:15 +00:00
.bazelversion Update rules_go (#7202) 2020-11-10 03:01:56 +00:00
.buildkite-bazelrc CI: Use experimental_remote_asset_api (#8761) 2021-04-13 17:18:47 +00:00
.codecov.yml Codecov: ignore testing directories (#8777) 2021-04-16 08:44:36 -05:00
.deepsource.toml Add generated file to DeepSource exclude_patterns (#8765) 2021-04-14 14:06:25 +00:00
.dockerignore Add tool and script for interop testing (#3417) 2019-09-09 17:31:19 -04:00
.gitattributes linguist-generated=true for mock and pb go files (#1465) 2019-02-02 17:25:28 -05:00
.gitignore Coverage results upload fix for CI (#8255) 2021-01-12 20:12:09 +00:00
.golangci.yml upgrading linter from gometalinter to golangci-lint (#2100) 2019-04-26 14:24:01 +08:00
.policy.yml Include Policy Bot Application (#7523) 2020-10-14 04:14:38 +00:00
.travis.yml Resolve Proto Lint Issues (#3044) 2019-07-22 14:10:17 -05:00
bazel.sh Fix All Deep Source Shell Issues and Go Issues (#8661) 2021-03-24 19:57:27 +00:00
BUILD.bazel Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
CONTRIBUTING.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00
DEPENDENCIES.md Revert DEPENDENCIES.md change from #8257 (#8389) 2021-02-03 18:46:46 +00:00
deps.bzl Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
fuzzbuzz.yaml Set up Prysm for fuzz testing on Fuzzbuzz (#8789) 2021-04-19 19:00:46 +00:00
go.mod Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
go.sum Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
interop.Dockerfile Add tool and script for interop testing (#3417) 2019-09-09 17:31:19 -04:00
INTEROP.md Update docs for keymanager (#4651) 2020-01-25 06:25:58 -08:00
LICENSE.md update to GPLv3 (#297) 2018-07-20 10:23:48 -05:00
nogo_config.json Feature Flag for Enabling Slashing Protection Pruning (#8632) 2021-03-19 17:54:47 +00:00
prysm.bat Fix for prysm.bat issue 'Validator' is not recognized as an internal or external command (#8097) 2021-01-04 23:27:38 +00:00
prysm.ps1 Various Powershell Fixes (#7854) 2020-11-20 17:17:38 +00:00
prysm.sh Fix All Deep Source Shell Issues and Go Issues (#8661) 2021-03-24 19:57:27 +00:00
README.md Update README.md (#8366) 2021-01-30 14:28:27 +00:00
service-account.json.enc Bazel cache for travis (#236) 2018-07-07 16:01:58 -04:00
TERMS_OF_SERVICE.md Update TERMS_OF_SERVICE.md (#7590) 2020-10-21 20:34:40 +00:00
WORKSPACE Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00

Prysm: An Ethereum 2.0 Implementation Written in Go

Build status Go Report Card ETH2.0_Spec_Version 1.0.0 Discord

This is the core repository for Prysm, a Golang implementation of the Ethereum 2.0 specification, developed by Prysmatic Labs. See the Changelog for details of the latest releases and upcoming breaking changes.

Getting Started

A detailed set of installation and usage instructions as well as breakdowns of each individual component are available in the official documentation portal. If you still have questions, feel free to stop by our Discord.

Staking on Mainnet

To participate in staking, you can join the official eth2 launchpad. The launchpad is the only recommended way to become a validator on mainnet. You can explore validator rewards/penalties via Bitfly's block explorer: beaconcha.in, and follow the latest blocks added to the chain on beaconscan.

Contributing

Branches

Prysm maintains two permanent branches:

  • master: This points to the latest stable release. It is ideal for most users.
  • develop: This is used for development, it contains the latest PRs. Developers should base their PRs on this branch.

Guide

Want to get involved? Check out our Contribution Guide to learn more!

License

GNU General Public License v3.0

Terms of Use