2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "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-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",
|
|
|
|
"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__",
|
|
|
|
"//fuzz:__pkg__",
|
|
|
|
],
|
2020-02-16 23:28:20 +00:00
|
|
|
deps = [
|
2020-03-08 06:24:57 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
2020-03-09 16:22:45 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
|
|
|
"//beacon-chain/db:go_default_library",
|
|
|
|
"//beacon-chain/db/filters:go_default_library",
|
|
|
|
"//beacon-chain/state:go_default_library",
|
2020-03-12 20:48:07 +00:00
|
|
|
"//proto/beacon/p2p/v1: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-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-02-16 23:28:20 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1: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-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-03-30 22:10:45 +00:00
|
|
|
"//beacon-chain/cache:go_default_library",
|
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",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//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",
|
2020-03-08 06:24:57 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-08-27 22:29:59 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-03-12 02:27:16 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2020-02-16 23:28:20 +00:00
|
|
|
],
|
|
|
|
)
|