2020-01-22 04:36:12 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-02-14 01:03:51 +00:00
|
|
|
"cloners.go",
|
2020-01-22 04:36:12 +00:00
|
|
|
"getters.go",
|
|
|
|
"setters.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/state",
|
2020-01-31 20:57:01 +00:00
|
|
|
visibility = [
|
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//shared/benchutil:__pkg__",
|
|
|
|
"//shared/testutil:__pkg__",
|
|
|
|
"//tools/benchmark-files-gen:__pkg__",
|
|
|
|
],
|
2020-01-22 04:36:12 +00:00
|
|
|
deps = [
|
2020-01-31 20:57:01 +00:00
|
|
|
"//beacon-chain/core/state/stateutils:go_default_library",
|
2020-02-21 16:52:21 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/hashutil:go_default_library",
|
2020-02-18 00:25:39 +00:00
|
|
|
"//shared/memorypool:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2020-01-31 20:57:01 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"@com_github_protolambda_zssz//merkle:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-02-06 04:07:23 +00:00
|
|
|
srcs = [
|
|
|
|
"references_test.go",
|
|
|
|
"types_test.go",
|
|
|
|
],
|
2020-01-22 04:36:12 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-02-21 16:52:21 +00:00
|
|
|
"//beacon-chain/state/stateutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2020-02-01 07:23:34 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
"//shared/interop:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2020-02-21 13:49:42 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2020-01-22 04:36:12 +00:00
|
|
|
],
|
|
|
|
)
|