mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
6fe86a3b30
* more spanner additions * implement iface * begin implement * wrapped up spanner functions * rem interface * added in necessary comments * comments on enums * begin adding tests * test for detection * add all detection tests * moar tests * tests for deleting pass * dd test for update spans * tests for updating * include tracing utils * gaz * add mutexes * ivan feedback
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"attestations.go",
|
|
"spanner.go",
|
|
],
|
|
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",
|
|
"attestations_test.go",
|
|
"spanner_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_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
],
|
|
)
|