mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-17 23:38:46 +00:00
6158a648cd
* rem slasher proto * with cache * delete old code * moving to bytes.go fix traces * moving to bytes.go fix traces * raul feedback * raul feedback * begin * add eviction test * ivan feedback * ivan feedback * test is running * some comment improvements * test included for bytes and bool * import * cleanup * tests pass * fill in all fields in test * gaz * fix integration * gaz + goimports * fix service.go * remove sleep * cleanup Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
36 lines
1.2 KiB
Python
36 lines
1.2 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/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 = [
|
|
"//shared/cmd:go_default_library",
|
|
"//shared/sliceutil:go_default_library",
|
|
"//slasher/db:go_default_library",
|
|
"//slasher/db/kv:go_default_library",
|
|
"//slasher/detection/attestations/types:go_default_library",
|
|
"//slasher/flags:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
],
|
|
)
|