mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
891dc2e2de
* define protos for beacon state * tests pass * address feedback
25 lines
692 B
Python
25 lines
692 B
Python
# gazelle:ignore
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
|
|
|
go_proto_library(
|
|
name = "v1_go_proto",
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
|
|
proto = ":v1_proto",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
embed = [":v1_go_proto"],
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/beacon/p2p/v1",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
proto_library(
|
|
name = "v1_proto",
|
|
srcs = ["messages.proto", "types.proto"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@com_google_protobuf//:timestamp_proto"],
|
|
)
|