2019-08-12 14:33:07 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2019-08-10 19:50:10 -05:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2019-09-18 12:05:24 -05:00
|
|
|
"archive.go",
|
2019-08-10 19:50:10 -05:00
|
|
|
"attestations.go",
|
2019-10-03 02:29:49 -07:00
|
|
|
"backup.go",
|
2019-08-10 19:50:10 -05:00
|
|
|
"blocks.go",
|
2019-08-30 06:58:02 -07:00
|
|
|
"checkpoint.go",
|
2019-08-21 16:11:50 -05:00
|
|
|
"deposit_contract.go",
|
2019-11-26 22:32:56 -08:00
|
|
|
"encoding.go",
|
2019-10-29 11:14:17 -04:00
|
|
|
"finalized_block_roots.go",
|
2019-08-10 19:50:10 -05:00
|
|
|
"kv.go",
|
2019-11-26 22:32:56 -08:00
|
|
|
"migrate_snappy.go",
|
2019-08-21 16:32:44 -05:00
|
|
|
"operations.go",
|
2019-11-28 15:05:47 -08:00
|
|
|
"prune_states.go",
|
2019-08-12 14:33:07 -05:00
|
|
|
"schema.go",
|
2019-08-21 15:21:04 -05:00
|
|
|
"slashings.go",
|
2019-08-10 19:50:10 -05:00
|
|
|
"state.go",
|
2019-08-15 19:57:43 -05:00
|
|
|
"utils.go",
|
2019-08-10 19:50:10 -05:00
|
|
|
"validators.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/db/kv",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-11-07 22:00:47 -05:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-08-10 19:50:10 -05:00
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2019-12-05 18:05:58 -08:00
|
|
|
"//beacon-chain/db/iface:go_default_library",
|
2019-10-16 23:46:07 -07:00
|
|
|
"//proto/beacon/db:go_default_library",
|
2019-08-10 19:50:10 -05:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-10-23 08:30:21 -07:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-11-26 22:32:56 -08:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-08-15 19:57:43 -05:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2019-10-16 23:46:07 -07:00
|
|
|
"//shared/traceutil:go_default_library",
|
2019-08-10 19:50:10 -05:00
|
|
|
"@com_github_boltdb_bolt//:go_default_library",
|
2019-12-06 03:13:11 +08:00
|
|
|
"@com_github_dgraph_io_ristretto//:go_default_library",
|
2019-08-21 16:11:50 -05:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2019-08-12 14:33:07 -05:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-11-26 22:32:56 -08:00
|
|
|
"@com_github_golang_snappy//:go_default_library",
|
2019-09-30 23:24:47 +08:00
|
|
|
"@com_github_mdlayher_prombolt//:go_default_library",
|
2019-08-10 19:50:10 -05:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2019-09-30 23:24:47 +08:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
2019-11-26 23:08:18 -06:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-08-13 11:04:33 -05:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2019-10-03 02:29:49 -07:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-08-20 14:35:48 -05:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2019-08-10 19:50:10 -05:00
|
|
|
],
|
|
|
|
)
|
2019-08-12 14:33:07 -05:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2019-09-18 13:41:47 -05:00
|
|
|
"archive_test.go",
|
2019-08-13 11:04:33 -05:00
|
|
|
"attestations_test.go",
|
2019-10-03 02:29:49 -07:00
|
|
|
"backup_test.go",
|
2019-08-13 11:49:27 -05:00
|
|
|
"blocks_test.go",
|
2019-08-30 06:58:02 -07:00
|
|
|
"checkpoint_test.go",
|
2019-08-21 16:11:50 -05:00
|
|
|
"deposit_contract_test.go",
|
2019-10-29 11:14:17 -04:00
|
|
|
"finalized_block_roots_test.go",
|
2019-08-12 14:33:07 -05:00
|
|
|
"kv_test.go",
|
2019-11-26 22:32:56 -08:00
|
|
|
"migrate_snappy_test.go",
|
2019-08-21 16:32:44 -05:00
|
|
|
"operations_test.go",
|
2019-11-28 15:05:47 -08:00
|
|
|
"prune_states_test.go",
|
2019-08-21 15:21:04 -05:00
|
|
|
"slashings_test.go",
|
2019-08-13 15:33:31 -07:00
|
|
|
"state_test.go",
|
2019-08-12 14:33:07 -05:00
|
|
|
"validators_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-08-13 11:04:33 -05:00
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2019-08-12 14:33:07 -05:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-10-23 22:50:33 -07:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-11-26 22:32:56 -08:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-11-07 22:00:47 -05:00
|
|
|
"//shared/params:go_default_library",
|
2019-08-12 14:33:07 -05:00
|
|
|
"//shared/testutil:go_default_library",
|
2019-08-21 16:11:50 -05:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
2019-08-12 14:33:07 -05:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-11-26 23:08:18 -06:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-10-16 23:46:07 -07:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2019-08-13 11:04:33 -05:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2019-08-12 14:33:07 -05:00
|
|
|
],
|
|
|
|
)
|