2020-02-16 23:28:20 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-03-12 00:38:30 +00:00
|
|
|
"cold.go",
|
2020-03-03 19:07:34 +00:00
|
|
|
"epoch_boundary_root.go",
|
2020-03-04 16:50:09 +00:00
|
|
|
"errors.go",
|
2020-03-08 06:24:57 +00:00
|
|
|
"hot.go",
|
2020-03-04 16:30:52 +00:00
|
|
|
"log.go",
|
2020-03-12 02:27:16 +00:00
|
|
|
"migrate.go",
|
2020-02-16 23:28:20 +00:00
|
|
|
"replay.go",
|
|
|
|
"service.go",
|
|
|
|
],
|
2020-02-26 22:09:14 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state/stategen",
|
2020-02-16 23:28:20 +00:00
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
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",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-02-26 16:40:33 +00:00
|
|
|
"//shared/featureconfig: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-02-16 23:28:20 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-03-05 16:22:20 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-03-04 16:30:52 +00:00
|
|
|
"@com_github_sirupsen_logrus//: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-03-12 00:38:30 +00:00
|
|
|
"cold_test.go",
|
2020-03-03 19:07:34 +00:00
|
|
|
"epoch_boundary_root_test.go",
|
2020-03-08 06:24:57 +00:00
|
|
|
"hot_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-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",
|
|
|
|
"//beacon-chain/state: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-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",
|
|
|
|
"@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
|
|
|
],
|
|
|
|
)
|