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 = [
|
|
|
|
"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 = [
|
2018-12-14 19:35:53 +00:00
|
|
|
"//beacon-chain/core/types:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
2018-12-13 16:35:50 +00:00
|
|
|
"//shared/slices: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",
|
|
|
|
"validity_conditions_test.go",
|
|
|
|
],
|
2018-12-12 16:18:50 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-12-14 19:35:53 +00:00
|
|
|
"//beacon-chain/core/types: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",
|
|
|
|
"//shared/params: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
|
|
|
],
|
|
|
|
)
|