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