mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
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",
|
||
|
],
|
||
|
)
|