prysm-pulse/beacon-chain/p2p
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
..
encoder Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
peers Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
testing Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
types Use eth2-types SSZUint64 (#8514) 2021-02-25 05:51:26 -08:00
addr_factory_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
addr_factory.go QSP-47 Remove Meaningless Relay Addr Check (#6388) 2020-06-25 09:16:30 +00:00
broadcaster_test.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
broadcaster.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
BUILD.bazel Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
config.go Add DB To P2P Service (#8676) 2021-03-26 09:51:58 -05:00
connection_gater_test.go Added public/private flags for IP address white/blacklisting (#8648) 2021-04-21 06:25:30 +00:00
connection_gater.go Added public/private flags for IP address white/blacklisting (#8648) 2021-04-21 06:25:30 +00:00
dial_relay_node_test.go Applies assertion funcs to p2p tests (#6597) 2020-07-14 16:51:39 +00:00
dial_relay_node.go Refactors calls to deprecated libp2p methods (#6554) 2020-07-13 02:28:40 +00:00
discovery_test.go Revert "Rename NewService to New (#8337)" (#8440) 2021-02-12 17:45:22 +00:00
discovery.go Add connectivity E2E test (#8607) 2021-03-27 00:33:50 +00:00
doc.go Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
fork_test.go ETH2 Types: Slot (#8408) 2021-02-16 07:45:34 +00:00
fork.go Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
gossip_scoring_params_test.go Enable Gossip Scoring (#8730) 2021-04-13 02:20:13 +00:00
gossip_scoring_params.go Enable Gossip Scoring (#8730) 2021-04-13 02:20:13 +00:00
gossip_topic_mappings_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
gossip_topic_mappings.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
handshake.go Clean Up GoodByes (#7790) 2020-11-13 12:58:13 +00:00
info.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
interfaces.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
iterator.go Refactor Subnet Search (#8048) 2020-12-11 18:40:56 -08:00
log.go Clean Up P2P Service (#6574) 2020-07-13 04:16:24 +00:00
monitoring.go Wait for subnet peers before broadcasting onto attestation subnet topic (#6893) 2020-08-10 10:27:50 -05:00
options_test.go Replace bytes.Equal with assert.DeepEqual in tests (#8318) 2021-01-22 15:15:40 +00:00
options.go Fix Default Transport Option (#8525) 2021-02-26 10:26:39 +01:00
parameter_test.go Update Gossip Parameters (#8683) 2021-04-02 20:21:19 +08:00
pubsub_filter_test.go Revert "Rename NewService to New (#8337)" (#8440) 2021-02-12 17:45:22 +00:00
pubsub_filter.go Better receiver names in beacon chain module (#8286) 2021-01-19 13:21:32 +00:00
pubsub_test.go Revert "Rename NewService to New (#8337)" (#8440) 2021-02-12 17:45:22 +00:00
pubsub.go Enable Gossip Scoring (#8730) 2021-04-13 02:20:13 +00:00
rpc_topic_mappings_test.go Refactor RPC Topic Construction (#8892) 2021-05-15 08:58:56 +08:00
rpc_topic_mappings.go Refactor RPC Topic Construction (#8892) 2021-05-15 08:58:56 +08:00
sender_test.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
sender.go Refactor RPC Topic Construction (#8892) 2021-05-15 08:58:56 +08:00
service_test.go Revert "Rename NewService to New (#8337)" (#8440) 2021-02-12 17:45:22 +00:00
service.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
subnets_test.go Revert "Rename NewService to New (#8337)" (#8440) 2021-02-12 17:45:22 +00:00
subnets.go Rename getter functions to be idiomatic (#8320) 2021-01-25 21:27:30 +00:00
topics.go Move subnet topics to global vars (#6525) 2020-07-09 17:38:15 +00:00
utils_test.go Serialize nil ENR record (#8881) 2021-05-11 08:31:43 +00:00
utils.go Change gogoproto compiler to protoc-gen-go-cast (#8697) 2021-05-17 18:32:04 +00:00
watch_peers.go Update variable names that are same as imports (#8220) 2021-01-07 10:42:03 -06:00