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 = [
|
|
|
|
"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",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-08 17:52:29 +00:00
|
|
|
"//shared/ssz: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 = [
|
|
|
|
"state_test.go",
|
|
|
|
"transition_test.go",
|
|
|
|
],
|
2018-11-22 19:18:06 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-01-05 05:39:34 +00:00
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2019-02-08 17:52:29 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2019-01-25 16:20:02 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-12-23 22:51:04 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-02-08 17:52:29 +00:00
|
|
|
"//shared/ssz:go_default_library",
|
2018-11-22 19:18:06 +00:00
|
|
|
],
|
|
|
|
)
|