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