2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-06-27 02:37:43 +00:00
|
|
|
|
|
|
|
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",
|
2021-11-09 16:49:28 +00:00
|
|
|
visibility = [
|
|
|
|
"//cmd:__subpackages__",
|
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2020-06-27 02:37:43 +00:00
|
|
|
deps = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"//async/abool:go_default_library",
|
|
|
|
"//async/event:go_default_library",
|
2021-09-15 01:18:39 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-17 21:55:24 +00:00
|
|
|
"//io/file:go_default_library",
|
2021-09-14 20:59:51 +00:00
|
|
|
"//monitoring/progress:go_default_library",
|
|
|
|
"//monitoring/tracing:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-21 18:11:16 +00:00
|
|
|
"//proto/prysm/v1alpha1/slashings:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots: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",
|
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",
|
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-04-16 16:25:28 +00:00
|
|
|
"kv_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 = [
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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
|
|
|
],
|
|
|
|
)
|