2019-10-17 03:12:26 +00:00
|
|
|
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",
|
|
|
|
],
|
2019-10-17 03:12:26 +00:00
|
|
|
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",
|
2019-10-17 03:12:26 +00:00
|
|
|
"//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",
|
|
|
|
],
|
2019-10-17 03:12:26 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/eth/v1alpha1:go_default_library",
|
2019-11-12 17:24:56 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-10-17 03:12:26 +00:00
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
],
|
|
|
|
)
|