prysm-pulse/proto/eth/v1alpha1/BUILD.bazel
Raul Jordan b919429801
Archived Data Definitions & DB API (#3510)
* generate archive proto

* archived committee info

* archive methods added to iface definition

* impl

* update iface

* proto comments
2019-09-18 12:05:24 -05:00

47 lines
1.3 KiB
Python

# gazelle:ignore
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("//proto:ssz_proto_library.bzl", "ssz_proto_files")
ssz_proto_files(
name = "ssz_proto_files",
srcs = [
"archive.proto",
"attestation.proto",
"beacon_block.proto",
"beacon_chain.proto",
"node.proto",
"validator.proto",
"slasher.proto",
],
config = select({
"//conditions:default": "mainnet",
"//proto:ssz_mainnet": "mainnet",
"//proto:ssz_minimal": "minimal",
}),
)
proto_library(
name = "v1alpha1_proto",
srcs = [":ssz_proto_files"],
visibility = ["//visibility:public"],
deps = [
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:timestamp_proto",
"@go_googleapis//google/api:annotations_proto",
"@gogo_special_proto//github.com/gogo/protobuf/gogoproto",
],
)
go_proto_library(
name = "go_default_library",
compiler = "//:grpc_proto_compiler",
importpath = "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1",
proto = ":v1alpha1_proto",
visibility = ["//visibility:public"],
deps = [
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
"@go_googleapis//google/api:annotations_go_proto",
],
)