2020-06-27 02:37:43 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-11-10 14:14:11 +00:00
|
|
|
"attestation_history_v2.go",
|
2021-01-06 03:04:46 +00:00
|
|
|
"attester_protection.go",
|
2020-12-03 22:28:57 +00:00
|
|
|
"backup.go",
|
2020-06-27 02:37:43 +00:00
|
|
|
"db.go",
|
2020-11-20 18:06:12 +00:00
|
|
|
"genesis.go",
|
2020-11-26 16:50:55 +00:00
|
|
|
"historical_attestations.go",
|
2020-12-16 03:33:04 +00:00
|
|
|
"migration.go",
|
2021-01-06 20:41:31 +00:00
|
|
|
"migration_optimal_attester_protection.go",
|
2020-12-16 03:33:04 +00:00
|
|
|
"migration_snappy_history.go",
|
2020-11-10 14:14:11 +00:00
|
|
|
"proposal_history_v2.go",
|
2020-06-27 02:37:43 +00:00
|
|
|
"schema.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/db/kv",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
|
|
|
deps = [
|
2020-09-14 01:55:33 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-12-11 18:31:35 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-11-09 20:27:03 +00:00
|
|
|
"//shared/fileutil:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-01-06 20:41:31 +00:00
|
|
|
"//shared/progressutil:go_default_library",
|
2020-12-16 03:33:04 +00:00
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-11-27 20:03:44 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
2021-01-06 03:04:46 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-11-27 20:03:44 +00:00
|
|
|
"@com_github_prysmaticlabs_prombbolt//:go_default_library",
|
2020-10-15 19:35:31 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
"@io_etcd_go_bbolt//:go_default_library",
|
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2020-11-10 14:14:11 +00:00
|
|
|
"attestation_history_v2_test.go",
|
2021-01-06 03:04:46 +00:00
|
|
|
"attester_protection_test.go",
|
2020-12-03 22:28:57 +00:00
|
|
|
"backup_test.go",
|
2020-06-27 02:37:43 +00:00
|
|
|
"db_test.go",
|
2020-11-20 18:06:12 +00:00
|
|
|
"genesis_test.go",
|
2020-11-26 16:50:55 +00:00
|
|
|
"historical_attestations_test.go",
|
2021-01-06 20:41:31 +00:00
|
|
|
"migration_optimal_attester_protection_test.go",
|
2020-12-16 03:33:04 +00:00
|
|
|
"migration_snappy_history_test.go",
|
2020-11-10 14:14:11 +00:00
|
|
|
"proposal_history_v2_test.go",
|
2020-06-27 02:37:43 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-09-14 01:55:33 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-07-23 01:13:52 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-12-16 03:33:04 +00:00
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
2021-01-06 03:04:46 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-12-16 03:33:04 +00:00
|
|
|
"@io_etcd_go_bbolt//:go_default_library",
|
2020-06-27 02:37:43 +00:00
|
|
|
],
|
|
|
|
)
|