2020-01-22 04:36:12 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-02-14 01:03:51 +00:00
|
|
|
"cloners.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__",
|
|
|
|
"//shared/benchutil:__pkg__",
|
|
|
|
"//shared/testutil:__pkg__",
|
|
|
|
"//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 = [
|
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-03-18 04:52:08 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2020-02-18 00:25:39 +00:00
|
|
|
"//shared/memorypool: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
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
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",
|
|
|
|
"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-04-19 13:57:43 +00:00
|
|
|
"//shared/featureconfig: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
|
|
|
],
|
|
|
|
)
|