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-14 19:03:25 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-02-22 14:57:24 +00:00
|
|
|
srcs = [
|
2020-02-27 17:22:39 +00:00
|
|
|
"mock_spanner.go",
|
2020-02-22 14:57:24 +00:00
|
|
|
"spanner.go",
|
|
|
|
],
|
2020-02-14 19:03:25 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/detection/attestations",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
2020-05-09 02:07:37 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-03-05 18:11:54 +00:00
|
|
|
"//slasher/db:go_default_library",
|
2020-02-27 04:48:02 +00:00
|
|
|
"//slasher/detection/attestations/iface:go_default_library",
|
|
|
|
"//slasher/detection/attestations/types:go_default_library",
|
2020-05-09 02:07:37 +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-14 19:03:25 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-03-05 05:35:14 +00:00
|
|
|
srcs = ["spanner_test.go"],
|
2020-02-14 19:03:25 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-03-13 18:04:22 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2020-03-08 17:56:43 +00:00
|
|
|
"//slasher/db/testing:go_default_library",
|
2020-02-27 04:48:02 +00:00
|
|
|
"//slasher/detection/attestations/types:go_default_library",
|
2020-02-22 14:57:24 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-02-14 19:03:25 +00:00
|
|
|
],
|
|
|
|
)
|