2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-01-22 04:36:12 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-08-27 20:28:54 +00:00
|
|
|
"doc.go",
|
2021-03-16 18:14:26 +00:00
|
|
|
"field_roots.go",
|
2021-04-12 14:23:55 +00:00
|
|
|
"getters_attestation.go",
|
|
|
|
"getters_block.go",
|
|
|
|
"getters_checkpoint.go",
|
|
|
|
"getters_eth1.go",
|
|
|
|
"getters_misc.go",
|
|
|
|
"getters_randao.go",
|
|
|
|
"getters_state.go",
|
|
|
|
"getters_validator.go",
|
2021-12-20 01:02:42 +00:00
|
|
|
"proofs.go",
|
2021-07-19 18:26:39 +00:00
|
|
|
"readonly_validator.go",
|
2021-04-12 14:23:55 +00:00
|
|
|
"setters_attestation.go",
|
|
|
|
"setters_block.go",
|
|
|
|
"setters_checkpoint.go",
|
|
|
|
"setters_eth1.go",
|
|
|
|
"setters_misc.go",
|
|
|
|
"setters_randao.go",
|
|
|
|
"setters_state.go",
|
|
|
|
"setters_validator.go",
|
2022-05-20 15:30:30 +00:00
|
|
|
"spec_parameters.go",
|
2020-03-18 04:52:08 +00:00
|
|
|
"state_trie.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
"types.go",
|
2021-06-30 15:06:19 +00:00
|
|
|
"unsupported_getters.go",
|
|
|
|
"unsupported_setters.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
2021-06-30 15:06:19 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/v1",
|
2022-03-21 19:43:41 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2020-01-22 04:36:12 +00:00
|
|
|
deps = [
|
2021-07-23 16:11:21 +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",
|
2020-02-21 16:52:21 +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-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",
|
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_go_bitfield//:go_default_library",
|
2020-03-25 01:15:00 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto: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 = [
|
2021-07-22 22:31:14 +00:00
|
|
|
"getters_attestation_test.go",
|
|
|
|
"getters_block_test.go",
|
2022-03-23 09:58:45 +00:00
|
|
|
"getters_checkpoint_test.go",
|
2020-03-11 09:11:07 +00:00
|
|
|
"getters_test.go",
|
2021-07-19 18:26:39 +00:00
|
|
|
"getters_validator_test.go",
|
2021-12-20 01:02:42 +00:00
|
|
|
"proofs_test.go",
|
2021-07-19 18:26:39 +00:00
|
|
|
"readonly_validator_test.go",
|
2020-02-06 04:07:23 +00:00
|
|
|
"references_test.go",
|
2021-04-12 14:23:55 +00:00
|
|
|
"setters_attestation_test.go",
|
2022-05-11 12:47:54 +00:00
|
|
|
"state_fuzz_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 = [
|
2022-05-11 12:47:54 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-05-11 12:47:54 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2020-02-21 16:52:21 +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-08-09 21:54:24 +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",
|
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-21 18:11:16 +00:00
|
|
|
"//runtime/interop:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util: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",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
)
|