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 = [
|
|
|
|
"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-01-22 04:36:12 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
|
|
|
"//shared/hashutil:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
"//shared/stateutil: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",
|
|
|
|
srcs = ["types_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//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",
|
|
|
|
"//shared/stateutil:go_default_library",
|
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
|
|
],
|
|
|
|
)
|