2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-02-07 02:32:51 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
2020-05-14 17:11:28 +00:00
|
|
|
"log.go",
|
2020-03-10 19:41:55 +00:00
|
|
|
"metrics.go",
|
2020-02-07 02:32:51 +00:00
|
|
|
"service.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2020-03-12 01:16:55 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/sliceutil:go_default_library",
|
2020-03-12 01:16:55 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-03-10 19:41:55 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-05-14 17:11:28 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-03-12 01:16:55 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"service_attester_test.go",
|
|
|
|
"service_proposer_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-03-12 01:16:55 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-05-20 20:27:23 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
|
|
|
"//shared/bls:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-03-12 01:16:55 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
],
|
|
|
|
)
|