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",
|
2020-02-07 02:32:51 +00:00
|
|
|
"service.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/operations/slashings",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-29 02:27:21 +00:00
|
|
|
"//testing/endtoend:__subpackages__",
|
|
|
|
"//testing/slasher/simulator:__pkg__",
|
2020-09-14 18:42:08 +00:00
|
|
|
],
|
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-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/slice:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1: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-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 = [
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/operations/slashings/mock:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-12-15 20:14:30 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2020-02-07 02:32:51 +00:00
|
|
|
],
|
|
|
|
)
|