2018-11-22 19:18:06 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-12-23 22:51:04 +00:00
|
|
|
srcs = [
|
2019-02-24 04:33:10 +00:00
|
|
|
"metrics.go",
|
2018-12-23 22:51:04 +00:00
|
|
|
"state.go",
|
|
|
|
"transition.go",
|
|
|
|
],
|
2018-11-22 19:18:06 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/state",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-01-09 17:26:40 +00:00
|
|
|
"//beacon-chain/core/balances:go_default_library",
|
2018-12-27 03:15:12 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2019-01-09 17:26:40 +00:00
|
|
|
"//beacon-chain/core/epoch:go_default_library",
|
2019-02-04 20:34:33 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-01-06 15:25:43 +00:00
|
|
|
"//beacon-chain/core/state/stateutils:go_default_library",
|
2018-12-23 22:51:04 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-12-20 22:00:38 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-03-26 15:40:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-02-25 02:09:45 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-24 04:33:10 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus:go_default_library",
|
|
|
|
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
|
2019-02-20 20:08:05 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-03-05 20:22:09 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-12-23 22:51:04 +00:00
|
|
|
srcs = [
|
2019-02-24 04:33:10 +00:00
|
|
|
"metrics_test.go",
|
2018-12-23 22:51:04 +00:00
|
|
|
"state_test.go",
|
|
|
|
"transition_test.go",
|
|
|
|
],
|
2018-11-22 19:18:06 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-08 17:52:29 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-02-20 05:07:28 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-03-26 15:40:55 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-03-12 23:39:13 +00:00
|
|
|
"//shared/forkutil:go_default_library",
|
2019-02-26 03:42:31 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-24 04:33:10 +00:00
|
|
|
"@com_github_prometheus_client_golang//prometheus/testutil:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
],
|
|
|
|
)
|