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 = [
|
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",
|
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",
|
2021-02-11 21:08:36 +00:00
|
|
|
"mock.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
"replay.go",
|
|
|
|
"service.go",
|
2020-03-14 16:31:21 +00:00
|
|
|
"setter.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
],
|
2020-02-26 22:09:14 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen",
|
2020-09-14 18:42:08 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
2021-09-16 17:32:51 +00:00
|
|
|
"//testing/fuzz:__pkg__",
|
2020-09-14 18:42:08 +00:00
|
|
|
],
|
2020-02-16 23:28:20 +00:00
|
|
|
deps = [
|
2021-09-03 20:10:31 +00:00
|
|
|
"//beacon-chain/core:go_default_library",
|
2021-08-30 23:57:08 +00:00
|
|
|
"//beacon-chain/core/altair: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",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-09-14 23:11:25 +00:00
|
|
|
"//cache/lru:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-03-06 23:06:01 +00:00
|
|
|
"//shared/params: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",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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",
|
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",
|
2020-03-03 19:07:34 +00:00
|
|
|
"replay_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",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2021-07-23 16:11:21 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-06-30 15:06:19 +00:00
|
|
|
"//beacon-chain/state/v1:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-02-17 05:10:23 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/testutil:go_default_library",
|
2020-07-18 07:56:48 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
2021-02-16 07:45:34 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//: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
|
|
|
],
|
|
|
|
)
|