2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-02-16 23:28:20 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2022-03-09 19:33:18 +00:00
|
|
|
"cacher.go",
|
2020-07-03 17:29:30 +00:00
|
|
|
"epoch_boundary_state_cache.go",
|
2020-03-04 16:50:09 +00:00
|
|
|
"errors.go",
|
2020-03-14 18:39:23 +00:00
|
|
|
"getter.go",
|
2022-03-23 22:54:07 +00:00
|
|
|
"history.go",
|
2020-12-17 20:40:47 +00:00
|
|
|
"hot_state_cache.go",
|
2020-03-04 16:30:52 +00:00
|
|
|
"log.go",
|
2020-08-27 22:29:59 +00:00
|
|
|
"metrics.go",
|
2020-03-12 02:27:16 +00:00
|
|
|
"migrate.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
"replay.go",
|
2022-03-09 19:33:18 +00:00
|
|
|
"replayer.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
"service.go",
|
2020-03-14 16:31:21 +00:00
|
|
|
"setter.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/beacon-chain/state/stategen",
|
2022-03-09 19:33:18 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2020-02-16 23:28:20 +00:00
|
|
|
deps = [
|
2021-08-30 23:57:08 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
2022-01-19 22:18:11 +00:00
|
|
|
"//beacon-chain/core/execution:go_default_library",
|
2022-09-30 09:39:07 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2021-09-30 19:00:14 +00:00
|
|
|
"//beacon-chain/core/time:go_default_library",
|
2021-09-08 10:41:47 +00:00
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
2022-09-28 20:10:27 +00:00
|
|
|
"//beacon-chain/forkchoice:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-03-28 21:01:55 +00:00
|
|
|
"//beacon-chain/sync/backfill:go_default_library",
|
2021-09-14 23:11:25 +00:00
|
|
|
"//cache/lru:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2022-03-09 19:33:18 +00:00
|
|
|
"//monitoring/tracing:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2021-10-01 20:17:57 +00:00
|
|
|
"//time/slots:go_default_library",
|
2020-12-17 20:40:47 +00:00
|
|
|
"@com_github_hashicorp_golang_lru//:go_default_library",
|
2020-02-26 16:40:33 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-08-20 13:20:26 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2020-03-04 16:30:52 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-07-03 17:29:30 +00:00
|
|
|
"@io_k8s_client_go//tools/cache:go_default_library",
|
2020-02-26 16:40:33 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-03-03 19:07:34 +00:00
|
|
|
srcs = [
|
2020-07-03 17:29:30 +00:00
|
|
|
"epoch_boundary_state_cache_test.go",
|
2020-03-14 18:39:23 +00:00
|
|
|
"getter_test.go",
|
2022-03-23 22:54:07 +00:00
|
|
|
"history_test.go",
|
2020-12-17 20:40:47 +00:00
|
|
|
"hot_state_cache_test.go",
|
2021-03-18 21:00:00 +00:00
|
|
|
"init_test.go",
|
2020-03-12 02:27:16 +00:00
|
|
|
"migrate_test.go",
|
2022-03-09 19:33:18 +00:00
|
|
|
"mock_test.go",
|
2020-03-03 19:07:34 +00:00
|
|
|
"replay_test.go",
|
2022-03-09 19:33:18 +00:00
|
|
|
"replayer_test.go",
|
2020-03-06 23:06:01 +00:00
|
|
|
"service_test.go",
|
2020-03-14 16:31:21 +00:00
|
|
|
"setter_test.go",
|
2020-03-03 19:07:34 +00:00
|
|
|
],
|
2020-02-16 23:28:20 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-02-17 05:10:23 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2022-03-09 19:33:18 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
|
|
"//beacon-chain/core/transition:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2022-09-28 20:10:27 +00:00
|
|
|
"//beacon-chain/forkchoice/doubly-linked-tree:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-09-16 22:17:46 +00:00
|
|
|
"//beacon-chain/state/state-native:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
|
|
|
"//consensus-types/blocks/testing:go_default_library",
|
2022-05-02 18:32:37 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
|
|
|
"//consensus-types/mock:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives: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-16 09:46:29 +00:00
|
|
|
"//runtime/version: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",
|
2022-03-09 19:33:18 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-03-12 02:27:16 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2021-05-17 18:32:04 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
],
|
|
|
|
)
|