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_roots.go",
|
2021-09-23 01:10:25 +00:00
|
|
|
"getters_block.go",
|
|
|
|
"getters_checkpoint.go",
|
|
|
|
"getters_eth1.go",
|
|
|
|
"getters_misc.go",
|
|
|
|
"getters_participation.go",
|
|
|
|
"getters_randao.go",
|
|
|
|
"getters_state.go",
|
|
|
|
"getters_sync_committee.go",
|
|
|
|
"getters_validator.go",
|
2021-12-20 01:02:42 +00:00
|
|
|
"proofs.go",
|
2021-09-23 01:10:25 +00:00
|
|
|
"setters_block.go",
|
|
|
|
"setters_checkpoint.go",
|
|
|
|
"setters_eth1.go",
|
|
|
|
"setters_misc.go",
|
|
|
|
"setters_participation.go",
|
|
|
|
"setters_randao.go",
|
|
|
|
"setters_state.go",
|
|
|
|
"setters_sync_committee.go",
|
|
|
|
"setters_validator.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",
|
2022-03-21 19:43:41 +00:00
|
|
|
visibility = ["//visibility:public"],
|
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",
|
2022-05-09 13:02:34 +00:00
|
|
|
"//beacon-chain/state/state-native: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-12-13 09:16:23 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-16 17:05:58 +00:00
|
|
|
"//container/slice:go_default_library",
|
2021-09-15 22:55:11 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-21 15:02:48 +00:00
|
|
|
"//encoding/ssz: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-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_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-09-23 01:10:25 +00:00
|
|
|
"getters_block_test.go",
|
2022-03-23 09:58:45 +00:00
|
|
|
"getters_checkpoint_test.go",
|
2021-07-26 20:55:30 +00:00
|
|
|
"getters_test.go",
|
2021-09-23 01:10:25 +00:00
|
|
|
"getters_validator_test.go",
|
2021-12-20 01:02:42 +00:00
|
|
|
"proofs_test.go",
|
2022-03-15 18:32:09 +00:00
|
|
|
"references_test.go",
|
2021-09-23 01:10:25 +00:00
|
|
|
"setters_test.go",
|
2022-05-11 12:47:54 +00:00
|
|
|
"state_fuzz_test.go",
|
2021-07-19 16:47:42 +00:00
|
|
|
"state_trie_test.go",
|
|
|
|
],
|
2022-05-11 12:47:54 +00:00
|
|
|
data = glob(["testdata/**"]),
|
2021-06-30 15:06:19 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-05-11 12:47:54 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2022-01-18 08:19:20 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-05-11 12:47:54 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-07-27 15:47:03 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2022-02-11 06:48:29 +00:00
|
|
|
"//beacon-chain/state/testing:go_default_library",
|
2021-09-23 01:10:25 +00:00
|
|
|
"//beacon-chain/state/types:go_default_library",
|
2021-12-14 18:42:05 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-12-20 01:02:42 +00:00
|
|
|
"//container/trie:go_default_library",
|
|
|
|
"//crypto/bls:go_default_library",
|
2022-05-11 12:47:54 +00:00
|
|
|
"//crypto/rand:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-12-20 01:02:42 +00:00
|
|
|
"//testing/util:go_default_library",
|
2021-11-19 12:01:15 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
],
|
|
|
|
)
|