mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
b633dfe880
* Change span updates to update multiple validators at once * Change detection to perform on multiple validators at once * Fix minspan issue * Fix indices * Fix test * Remove logs * Remove more logs * Update slasher/detection/attestations/spanner_test.go * Update slasher/detection/attestations/spanner_test.go * Update slasher/detection/attestations/spanner_test.go * Update slasher/detection/detect.go * nil check * fix ununsed import Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"mock_spanner.go",
|
|
"spanner.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/detection/attestations",
|
|
visibility = ["//slasher:__subpackages__"],
|
|
deps = [
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//slasher/db:go_default_library",
|
|
"//slasher/detection/attestations/iface:go_default_library",
|
|
"//slasher/detection/attestations/types: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 = ["spanner_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//slasher/db/testing:go_default_library",
|
|
"//slasher/detection/attestations/types:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
],
|
|
)
|