prysm-pulse/proto
kasey cf0bd633f0
Checkpoint Sync 1/5 - fork/version detection and unmarshaling support (#10380)
* fork/version detection and unmarshaling support

* Update config/params/config.go

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

* Update proto/detect/configfork.go

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

* PR feedback

* move ssz initialization into the detect package

* clarify comment

* VersionForEpoch is much simpler/clearer in reverse

* simpler VersionForEpoch; build AllConfigs in init

* use fieldparams for Version

* Update proto/detect/configfork_test.go

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

* remove custom ForkName type, use runtime/version

* pr cleanup

* random fix from bad gh ui suggestion; privatize

* privatize fieldSpec methods; + unit tests

* Update proto/detect/configfork.go

Co-authored-by: Potuz <potuz@prysmaticlabs.com>

* fix bad github ui suggestion

* ensure unique versions for simpler config match

* fmt & adding unit test for ByState()

* table-driven unit test for ByState

* TestUnmarshalState

* OrderedSchedule -> network/forks per PR feedback

* goimports

* lint fixes

* move proto/detect -> ssz/encoding/detect

* use typeUndefined in String

* backport config tests from e2e PR

* fix config parity test; make debugging it easier

* lint

* fix fork schedule initialization

* cleanup

* fix build

* fix big ole derp

* anything for you, deep source

* goimportsss

* InitializeForkSchedule in LoadChainConfigFile

* PR feedback

Co-authored-by: kasey <kasey@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-03-21 19:43:41 +00:00
..
engine/v1 Fix BaseFeePerGas endianess (#10376) 2022-03-16 22:12:08 +00:00
eth ran gofmt @ v1.17, these are the resulting changes (#10362) 2022-03-14 15:58:13 -05:00
migration Bellatrix API support for block endpoints (#10324) 2022-03-09 17:18:52 +00:00
prysm Implement Fee Recipient: CLI flags and Calling Beacon API (#10312) 2022-03-21 13:48:02 -05:00
testing ran gofmt @ v1.17, these are the resulting changes (#10362) 2022-03-14 15:58:13 -05:00
BUILD.bazel Checkpoint Sync 1/5 - fork/version detection and unmarshaling support (#10380) 2022-03-21 19:43:41 +00:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00
ssz_proto_library.bzl Add sync committee aggregation_bits tags for minimal and mainnet (#9147) 2021-07-03 18:59:35 -05:00

Prysm Protocol Buffers

This package defines common protobuf messages and services used by Prysm. For now, we are checking in all generated code to support native go dependency management.