prysm-pulse/beacon-chain
Nishant Das 5d65ace970
Implement Doppelganger Check (#9120)
* checkpoint changes

* Update beacon-chain/rpc/validator/status.go

Co-authored-by: Potuz <potuz@potuz.net>

* Update beacon-chain/rpc/validator/status.go

Co-authored-by: Potuz <potuz@potuz.net>

* add in client side tests

* add ordering

* add all new test cases

* gate feature

* handle edge case

* add one more test case

* fatal error

* zahoor's review

* Update validator/client/validator.go

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

* Update validator/client/validator.go

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

* doppelganger not doppleganger

* preston's review

* add in comment

* change comment

* Fix e2e to only run new flags on the current version

* Fix bug where zero byte public keys were always sent in the request when attestation history existed. Still some tests to fix due to another bug in attester protection AttestationHistoryForPubKey.

* go mod tidy, gazelle

* Increase test size

* fix timeout, change size back to small

Co-authored-by: Potuz <potuz@potuz.net>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-07-02 12:11:09 +08:00
..
blockchain Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
cache Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
core Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
db Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
forkchoice Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
gateway Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
interop-cold-start Beacon State V2 Interface Definition With Semantic Version Paths (#9125) 2021-06-30 15:06:19 +00:00
node Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
operations Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
p2p Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
package Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
powchain Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
rpc Implement Doppelganger Check (#9120) 2021-07-02 12:11:09 +08:00
server Retrieve validators through v1 API in e2e (#9117) 2021-06-29 09:47:59 -05:00
slasher/types Move EthereumAPIs Into Prysm (#8968) 2021-06-02 18:49:52 -05:00
state Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
sync Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +00:00
BUILD.bazel Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
README.md Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00: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.