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-02-06 16:44:27 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
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-02-20 05:07:28 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-03-12 23:39:13 +00:00
|
|
|
"//shared/forkutil:go_default_library",
|
2018-12-20 22:00:38 +00:00
|
|
|
"//shared/hashutil: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/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",
|
2019-02-08 21:53:36 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-02-25 02:09:45 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
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",
|
2019-04-10 06:52:06 +00:00
|
|
|
"//beacon-chain/core/state:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
2019-02-20 05:07:28 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-04-24 05:39:02 +00:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2019-03-12 23:39:13 +00:00
|
|
|
"//shared/forkutil: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-04-29 14:54:55 +00:00
|
|
|
"//shared/testutil: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",
|
2019-04-10 06:52:06 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-05-30 01:04:25 +00:00
|
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
2018-12-20 01:45:21 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2019-04-29 14:54:55 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2018-12-12 16:18:50 +00:00
|
|
|
],
|
|
|
|
)
|