mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 20:20:05 +00:00
8cfbf0309d
* skip proto lint * golang ci lint no -t flag * regenerate protos to match schema * move to compatibility folder * build file compatibility * foo
40 lines
1.1 KiB
Python
40 lines
1.1 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")
|
|
|
|
proto_library(
|
|
name = "v1alpha1_proto",
|
|
srcs = [
|
|
"attestation.proto",
|
|
"beacon_block.proto",
|
|
"beacon_chain.proto",
|
|
"node.proto",
|
|
"validator.proto",
|
|
],
|
|
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",
|
|
],
|
|
)
|
|
|
|
#go_library(
|
|
# name = "go_default_library",
|
|
# embed = [":v1alpha1_go_proto"],
|
|
# visibility = ["//visibility:public"],
|
|
#)
|