2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-01-22 04:36:12 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-02-14 01:03:51 +00:00
|
|
|
"cloners.go",
|
2020-07-06 20:52:53 +00:00
|
|
|
"docs.go",
|
2020-03-18 02:09:31 +00:00
|
|
|
"field_trie.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
"getters.go",
|
|
|
|
"setters.go",
|
2020-03-18 04:52:08 +00:00
|
|
|
"state_trie.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state",
|
2020-01-31 20:57:01 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2020-05-05 07:22:26 +00:00
|
|
|
"//fuzz:__pkg__",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//shared/benchutil:__pkg__",
|
|
|
|
"//shared/testutil:__pkg__",
|
2020-06-23 19:13:55 +00:00
|
|
|
"//shared/aggregation:__subpackages__",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//tools/benchmark-files-gen:__pkg__",
|
2020-04-27 16:47:28 +00:00
|
|
|
"//tools/pcli:__pkg__",
|
2020-06-23 04:00:38 +00:00
|
|
|
"//shared/aggregation:__subpackages__",
|
2020-01-31 20:57:01 +00:00
|
|
|
],
|
2020-01-22 04:36:12 +00:00
|
|
|
deps = [
|
2020-01-31 20:57:01 +00:00
|
|
|
"//beacon-chain/core/state/stateutils:go_default_library",
|
2020-02-21 16:52:21 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-07-06 20:52:53 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2020-06-18 02:15:13 +00:00
|
|
|
"//shared/htrutils:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/params:go_default_library",
|
2020-03-18 04:52:08 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2020-01-31 20:57:01 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2020-03-25 01:15:00 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-07-08 12:53:36 +00:00
|
|
|
# gazelle:exclude types_bench_test.go
|
2020-01-22 04:36:12 +00:00
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-02-06 04:07:23 +00:00
|
|
|
srcs = [
|
2020-03-18 02:09:31 +00:00
|
|
|
"field_trie_test.go",
|
2020-03-11 09:11:07 +00:00
|
|
|
"getters_test.go",
|
2020-02-06 04:07:23 +00:00
|
|
|
"references_test.go",
|
2020-05-12 00:23:05 +00:00
|
|
|
"state_trie_test.go",
|
2020-02-06 04:07:23 +00:00
|
|
|
"types_test.go",
|
|
|
|
],
|
2020-01-22 04:36:12 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-02-21 16:52:21 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-02-01 07:23:34 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/interop:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2020-03-18 02:09:31 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-04-19 13:57:43 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2020-02-21 13:49:42 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-04-14 16:41:09 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
)
|