2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-06-30 15:06:19 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2021-07-26 20:55:30 +00:00
|
|
|
"deprecated_getters.go",
|
2021-07-26 22:27:05 +00:00
|
|
|
"deprecated_setters.go",
|
2021-07-27 15:47:03 +00:00
|
|
|
"field_root_eth1.go",
|
|
|
|
"field_root_participation_bit.go",
|
|
|
|
"field_root_sync_committee.go",
|
|
|
|
"field_root_validator.go",
|
|
|
|
"field_root_vector.go",
|
|
|
|
"field_roots.go",
|
2021-07-26 20:55:30 +00:00
|
|
|
"getters.go",
|
2021-07-26 22:27:05 +00:00
|
|
|
"setters.go",
|
2021-07-19 16:47:42 +00:00
|
|
|
"state_trie.go",
|
2021-06-30 15:06:19 +00:00
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v2",
|
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-02 19:28:55 +00:00
|
|
|
"//proto/migration:__subpackages__",
|
2021-07-28 17:15:23 +00:00
|
|
|
"//shared/testutil:__pkg__",
|
2021-09-14 16:02:58 +00:00
|
|
|
"//testing/spectest:__subpackages__",
|
2021-06-30 15:06:19 +00:00
|
|
|
],
|
|
|
|
deps = [
|
2021-07-26 20:55:30 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-08-09 21:54:24 +00:00
|
|
|
"//beacon-chain/state/fieldtrie:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2021-08-09 21:54:24 +00:00
|
|
|
"//beacon-chain/state/types:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-09-15 01:18:39 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-07-26 22:27:05 +00:00
|
|
|
"//proto/eth/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-07-26 20:55:30 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-07-27 15:47:03 +00:00
|
|
|
"//shared/htrutils:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//shared/params:go_default_library",
|
2021-07-27 15:47:03 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
|
|
|
"@com_github_dgraph_io_ristretto//:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-07-26 20:55:30 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-07-27 15:47:03 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-07-19 16:47:42 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-07-19 16:47:42 +00:00
|
|
|
srcs = [
|
2021-07-26 20:55:30 +00:00
|
|
|
"deprecated_getters_test.go",
|
2021-07-26 22:27:05 +00:00
|
|
|
"deprecated_setters_test.go",
|
2021-07-26 20:55:30 +00:00
|
|
|
"getters_test.go",
|
2021-07-19 16:47:42 +00:00
|
|
|
"state_trie_test.go",
|
|
|
|
],
|
2021-06-30 15:06:19 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2021-07-27 15:47:03 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-27 15:47:03 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-08-19 19:33:05 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
],
|
|
|
|
)
|