2021-11-17 09:04:49 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-11-16 16:36:13 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-11-17 09:04:49 +00:00
|
|
|
srcs = [
|
2021-11-22 17:37:55 +00:00
|
|
|
"deprecated_getters.go",
|
|
|
|
"deprecated_setters.go",
|
2021-11-17 09:04:49 +00:00
|
|
|
"field_roots.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"getters_block.go",
|
|
|
|
"getters_checkpoint.go",
|
|
|
|
"getters_eth1.go",
|
|
|
|
"getters_misc.go",
|
|
|
|
"getters_participation.go",
|
2021-11-22 23:56:23 +00:00
|
|
|
"getters_payload_header.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"getters_randao.go",
|
|
|
|
"getters_state.go",
|
|
|
|
"getters_sync_committee.go",
|
|
|
|
"getters_validator.go",
|
2021-12-20 01:02:42 +00:00
|
|
|
"proofs.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"setters_block.go",
|
|
|
|
"setters_checkpoint.go",
|
|
|
|
"setters_eth1.go",
|
|
|
|
"setters_misc.go",
|
|
|
|
"setters_participation.go",
|
2021-11-22 23:56:23 +00:00
|
|
|
"setters_payload_header.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"setters_randao.go",
|
|
|
|
"setters_state.go",
|
|
|
|
"setters_sync_committee.go",
|
|
|
|
"setters_validator.go",
|
2022-05-20 15:30:30 +00:00
|
|
|
"spec_parameters.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"state_trie.go",
|
2021-11-17 09:04:49 +00:00
|
|
|
"types.go",
|
|
|
|
],
|
2021-11-16 16:36:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v3",
|
2022-03-21 19:43:41 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-11-16 16:36:13 +00:00
|
|
|
deps = [
|
2021-11-22 17:37:55 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-11-16 16:36:13 +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-11-16 16:36:13 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
|
|
|
"//beacon-chain/state/types:go_default_library",
|
2021-11-22 17:37:55 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-11-17 09:04:49 +00:00
|
|
|
"//config/features:go_default_library",
|
2021-12-13 09:16:23 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-11-16 16:36:13 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-11-25 20:41:05 +00:00
|
|
|
"//container/slice:go_default_library",
|
2021-11-17 09:04:49 +00:00
|
|
|
"//crypto/hash:go_default_library",
|
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//encoding/ssz:go_default_library",
|
2021-11-16 16:36:13 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-11-22 17:37:55 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-11-16 16:36:13 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-11-22 17:37:55 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-11-25 20:41:05 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-11-22 17:37:55 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2021-11-16 16:36:13 +00:00
|
|
|
],
|
|
|
|
)
|
2021-11-17 09:04:49 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2021-11-22 17:37:55 +00:00
|
|
|
srcs = [
|
|
|
|
"deprecated_getters_test.go",
|
|
|
|
"deprecated_setters_test.go",
|
|
|
|
"getters_block_test.go",
|
2022-03-23 09:58:45 +00:00
|
|
|
"getters_checkpoint_test.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
"getters_test.go",
|
|
|
|
"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-11-25 20:41:05 +00:00
|
|
|
"setters_test.go",
|
2022-05-11 12:47:54 +00:00
|
|
|
"state_fuzz_test.go",
|
2021-11-25 20:41:05 +00:00
|
|
|
"state_trie_test.go",
|
2021-11-22 17:37:55 +00:00
|
|
|
],
|
2021-11-17 09:04:49 +00:00
|
|
|
embed = [":go_default_library"],
|
2021-11-22 17:37:55 +00:00
|
|
|
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-11-25 20:41:05 +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-11-25 20:41:05 +00:00
|
|
|
"//beacon-chain/state/types:go_default_library",
|
2022-01-06 17:33:08 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-11-25 20:41:05 +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-11-22 17:37:55 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//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-25 20:41:05 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-11-22 17:37:55 +00:00
|
|
|
],
|
2021-11-17 09:04:49 +00:00
|
|
|
)
|