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",
|
|
|
|
srcs = ["block_operations.go"],
|
|
|
|
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-12 16:18:50 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["block_operations_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-12-14 19:35:53 +00:00
|
|
|
"//beacon-chain/core/types:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
|
|
"//shared/params:go_default_library",
|
|
|
|
],
|
|
|
|
)
|