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 = [
|
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",
|
2021-01-12 15:32:13 +00:00
|
|
|
"deprecated_attester_protection.go",
|
2021-01-22 23:12:22 +00:00
|
|
|
"eip_blacklisted_keys.go",
|
2020-11-20 18:06:12 +00:00
|
|
|
"genesis.go",
|
2021-02-24 22:50:47 +00:00
|
|
|
"graffiti.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2020-12-16 03:33:04 +00:00
|
|
|
"migration.go",
|
2021-01-11 23:59:17 +00:00
|
|
|
"migration_optimal_attester_protection.go",
|
2021-02-17 19:23:59 +00:00
|
|
|
"migration_source_target_epochs_bucket.go",
|
2021-01-12 15:32:13 +00:00
|
|
|
"proposer_protection.go",
|
2021-01-07 21:40:37 +00:00
|
|
|
"prune_attester_protection.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",
|
2021-02-12 20:19:01 +00:00
|
|
|
"//shared/abool:go_default_library",
|
2020-09-14 01:55:33 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-01-11 23:59:17 +00:00
|
|
|
"//shared/event:go_default_library",
|
2021-03-19 17:54:47 +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-11 23:59:17 +00:00
|
|
|
"//shared/progressutil:go_default_library",
|
|
|
|
"//shared/slashutil:go_default_library",
|
2021-02-16 09:06:52 +00:00
|
|
|
"//shared/traceutil: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-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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 = [
|
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",
|
2021-01-12 15:32:13 +00:00
|
|
|
"deprecated_attester_protection_test.go",
|
2021-01-22 23:12:22 +00:00
|
|
|
"eip_blacklisted_keys_test.go",
|
2020-11-20 18:06:12 +00:00
|
|
|
"genesis_test.go",
|
2021-02-24 22:50:47 +00:00
|
|
|
"graffiti_test.go",
|
2021-01-11 23:59:17 +00:00
|
|
|
"migration_optimal_attester_protection_test.go",
|
2021-02-17 19:23:59 +00:00
|
|
|
"migration_source_target_epochs_bucket_test.go",
|
2021-01-12 15:32:13 +00:00
|
|
|
"proposer_protection_test.go",
|
2021-01-07 21:40:37 +00:00
|
|
|
"prune_attester_protection_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",
|
2021-02-24 22:50:47 +00:00
|
|
|
"//shared/hashutil: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",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-01-06 03:04:46 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2021-01-11 23:59:17 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//hooks/test: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
|
|
|
],
|
|
|
|
)
|