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 = [
|
|
|
|
"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",
|
2018-11-22 11:18:06 -08:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-08 11:52:29 -06:00
|
|
|
"//shared/ssz:go_default_library",
|
2019-02-20 12:08:05 -08:00
|
|
|
"@com_github_sirupsen_logrus//: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 = [
|
|
|
|
"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-02-20 12:58:34 -06:00
|
|
|
"//shared/forkutils:go_default_library",
|
2018-11-22 11:18:06 -08:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-08 11:52:29 -06:00
|
|
|
"//shared/ssz:go_default_library",
|
2018-11-22 11:18:06 -08:00
|
|
|
],
|
|
|
|
)
|