prysm-pulse/slasher/rpc/BUILD.bazel

38 lines
1.2 KiB
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
2019-11-12 17:24:56 +00:00
srcs = [
"server.go",
"update_min_max_span.go",
],
importpath = "github.com/prysmaticlabs/prysm/slasher/rpc",
visibility = ["//visibility:public"],
deps = [
"//beacon-chain/core/helpers:go_default_library",
"//proto/eth/v1alpha1:go_default_library",
2019-11-12 17:24:56 +00:00
"//shared/params:go_default_library",
"//slasher/db:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
"@com_github_gogo_protobuf//types:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@org_golang_google_grpc//codes:go_default_library",
"@org_golang_google_grpc//status:go_default_library",
],
)
go_test(
name = "go_default_test",
2019-11-12 17:24:56 +00:00
srcs = [
"server_test.go",
"update_min_max_span_test.go",
],
embed = [":go_default_library"],
deps = [
"//proto/eth/v1alpha1:go_default_library",
2019-11-12 17:24:56 +00:00
"//shared/params:go_default_library",
"//slasher/db:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
],
)