2020-02-14 19:03:25 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-02-22 14:57:24 +00:00
|
|
|
srcs = [
|
|
|
|
"attestations.go",
|
|
|
|
"spanner.go",
|
|
|
|
],
|
2020-02-14 19:03:25 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/detection/attestations",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//proto/slashing:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"attestations_bench_test.go",
|
2020-02-20 14:56:37 +00:00
|
|
|
"attestations_test.go",
|
2020-02-22 14:57:24 +00:00
|
|
|
"spanner_test.go",
|
2020-02-14 19:03:25 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//proto/slashing:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//slasher/db/testing:go_default_library",
|
|
|
|
"//slasher/flags:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto: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
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|