2018-12-12 16:18:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
srcs = [
|
2018-12-20 22:00:38 +00:00
|
|
|
"block.go",
|
2018-12-20 01:45:21 +00:00
|
|
|
"block_operations.go",
|
|
|
|
"validity_conditions.go",
|
|
|
|
],
|
2018-12-12 16:18:50 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/core/blocks",
|
|
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
|
|
deps = [
|
2019-01-06 15:25:43 +00:00
|
|
|
"//beacon-chain/core/state/stateutils:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2018-12-20 22:00:38 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2018-12-20 22:00:38 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2019-01-30 10:11:13 +00:00
|
|
|
"//shared/mathutil:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/sliceutil:go_default_library",
|
2019-01-05 05:39:34 +00:00
|
|
|
"//shared/ssz:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-12-20 01:45:21 +00:00
|
|
|
srcs = [
|
|
|
|
"block_operations_test.go",
|
2018-12-20 22:00:38 +00:00
|
|
|
"block_test.go",
|
2018-12-20 01:45:21 +00:00
|
|
|
"validity_conditions_test.go",
|
|
|
|
],
|
2018-12-12 16:18:50 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2019-02-04 20:34:33 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
"//beacon-chain/utils:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2018-12-27 06:48:09 +00:00
|
|
|
"//shared/hashutil:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//shared/params:go_default_library",
|
2019-01-05 05:39:34 +00:00
|
|
|
"//shared/ssz:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/trieutil:go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//core/types:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
],
|
|
|
|
)
|