2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-02-13 16:19:46 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"attester_slashings.go",
|
2020-12-03 22:28:57 +00:00
|
|
|
"backup.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"block_header.go",
|
2020-02-19 22:26:14 +00:00
|
|
|
"chain_data.go",
|
2020-10-26 12:15:42 +00:00
|
|
|
"highest_attestation.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"indexed_attestations.go",
|
|
|
|
"kv.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"proposer_slashings.go",
|
|
|
|
"schema.go",
|
2020-06-02 14:41:21 +00:00
|
|
|
"spanner_new.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"validator_id_pubkey.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db/kv",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
2020-03-19 11:59:35 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-23 18:01:01 +00:00
|
|
|
"//proto/prysm/v2:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-11-09 20:27:03 +00:00
|
|
|
"//shared/fileutil:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-03-08 21:11:59 +00:00
|
|
|
"//slasher/cache:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"//slasher/db/types:go_default_library",
|
2020-03-05 05:35:14 +00:00
|
|
|
"//slasher/detection/attestations/types:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-03-10 19:41:55 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-03-24 20:00:54 +00:00
|
|
|
"@io_etcd_go_bbolt//:go_default_library",
|
2020-02-13 19:51:30 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"attester_slashings_test.go",
|
2020-12-03 22:28:57 +00:00
|
|
|
"backup_test.go",
|
2020-06-02 14:41:21 +00:00
|
|
|
"benchmark_test.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"block_header_test.go",
|
2020-02-19 22:26:14 +00:00
|
|
|
"chain_data_test.go",
|
2020-10-26 12:15:42 +00:00
|
|
|
"highest_attestation_test.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"indexed_attestations_test.go",
|
|
|
|
"kv_test.go",
|
|
|
|
"proposer_slashings_test.go",
|
2020-06-02 14:41:21 +00:00
|
|
|
"spanner_new_test.go",
|
2020-02-13 16:19:46 +00:00
|
|
|
"validator_id_pubkey_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-03-19 11:59:35 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-23 18:01:01 +00:00
|
|
|
"//proto/prysm/v2:go_default_library",
|
2020-03-28 18:32:11 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-03-19 11:59:35 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"//shared/sszutil:go_default_library",
|
2021-01-09 16:45:45 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-08-18 12:41:25 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
"//slasher/db/types:go_default_library",
|
2020-03-05 05:35:14 +00:00
|
|
|
"//slasher/detection/attestations/types:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-08-18 12:41:25 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-03-28 18:32:11 +00:00
|
|
|
"@in_gopkg_d4l3k_messagediff_v1//:go_default_library",
|
2020-02-13 16:19:46 +00:00
|
|
|
],
|
|
|
|
)
|