mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 00:44:27 +00:00
6b40fa01ec
* Move detection to its own package * Fix renames * More fixes * Revert "Fix renames" This reverts commit 3200f89a1b81bbffffdbd1bdca0fad73e0e8bc17. * Fix * Fix renames again * Fix another rename * Fix comment * unused * add comment * gazelle * Add spans * Unexport helper functions Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["attestations.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/detection",
|
|
visibility = ["//visibility:public"],
|
|
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",
|
|
testonly = True,
|
|
srcs = [
|
|
"attestation_test.go",
|
|
"attestations_bench_test.go",
|
|
],
|
|
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",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
],
|
|
)
|