2022-01-18 15:21:56 +00:00
|
|
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
|
|
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
# gazelle:ignore
|
|
|
|
proto_library(
|
|
|
|
name = "proto",
|
|
|
|
srcs = [
|
|
|
|
"beacon_storage.proto",
|
|
|
|
"version.proto",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//proto/eth/v2:proto",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_proto_library(
|
|
|
|
name = "go_proto",
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage",
|
2022-01-18 15:21:56 +00:00
|
|
|
proto = ":proto",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//proto/eth/v2:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
embed = [":go_proto"],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/proto/prysm/storage",
|
2022-01-18 15:21:56 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|