2021-09-29 18:17:37 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"attestations.go",
|
|
|
|
"blocks.go",
|
|
|
|
"server.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/rpc/prysm/v1alpha1/slasher",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/slasher:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-30 02:33:28 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-09-29 18:17:37 +00:00
|
|
|
"@org_golang_google_grpc//codes:go_default_library",
|
|
|
|
"@org_golang_google_grpc//status:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-09-30 02:33:28 +00:00
|
|
|
srcs = [
|
|
|
|
"attestations_test.go",
|
|
|
|
"server_test.go",
|
|
|
|
],
|
2021-09-29 18:17:37 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/slasher/mock:go_default_library",
|
2021-09-29 18:17:37 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-09-30 02:33:28 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-09-29 18:17:37 +00:00
|
|
|
],
|
|
|
|
)
|