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-08-27 20:28:54 +00:00
|
|
|
"doc.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",
|
2021-03-02 12:37:36 +00:00
|
|
|
"validator_getters.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
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-11-10 03:01:56 +00:00
|
|
|
"//proto/testing:__subpackages__",
|
|
|
|
"//shared/aggregation:__subpackages__",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//shared/benchutil:__pkg__",
|
2020-11-10 03:01:56 +00:00
|
|
|
"//shared/depositutil:__subpackages__",
|
2020-01-31 20:57:01 +00:00
|
|
|
"//shared/testutil:__pkg__",
|
2020-11-10 03:01:56 +00:00
|
|
|
"//slasher/rpc:__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-01-31 20:57:01 +00:00
|
|
|
],
|
2020-01-22 04:36:12 +00:00
|
|
|
deps = [
|
2021-03-03 02:26:24 +00:00
|
|
|
"//beacon-chain/state/interface: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",
|
|
|
|
"//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",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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-10-23 21:41:45 +00:00
|
|
|
"helpers_test.go",
|
2020-02-06 04:07:23 +00:00
|
|
|
"references_test.go",
|
2021-01-25 03:01:55 +00:00
|
|
|
"state_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 = [
|
2021-03-03 02:26:24 +00:00
|
|
|
"//beacon-chain/state/interface: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",
|
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-07-18 07:56:48 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2021-02-09 10:05:22 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@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-04-14 16:41:09 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
)
|