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