2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "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",
|
2021-02-23 15:17:07 +00:00
|
|
|
"mock.go",
|
2020-02-07 02:32:51 +00:00
|
|
|
"service.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/operations/slashings",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//fuzz:__pkg__",
|
|
|
|
],
|
2020-02-07 02:32:51 +00:00
|
|
|
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",
|
2021-03-08 22:37:33 +00:00
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
"//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",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-05-14 17:11:28 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-10-26 21:17:07 +00:00
|
|
|
"@com_github_trailofbits_go_mutexasserts//: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",
|
2020-10-26 21:17:07 +00:00
|
|
|
"service_test.go",
|
2020-02-07 02:32:51 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-03-08 22:37:33 +00:00
|
|
|
"//beacon-chain/state/interface:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2020-05-20 20:27:23 +00:00
|
|
|
"//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-07-15 18:37:51 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-23 00:14:50 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
],
|
|
|
|
)
|