2021-09-20 16:17:03 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-07-06 15:34:05 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
srcs = [
|
|
|
|
"block_interfaces.go",
|
|
|
|
"block_utils.go",
|
|
|
|
],
|
2021-07-28 21:23:44 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/block",
|
2021-07-06 15:34:05 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-07-18 19:32:52 +00:00
|
|
|
"@com_github_ferranbt_fastssz//:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-07-06 15:34:05 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2021-09-20 16:17:03 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["block_utils_test.go"],
|
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
2021-12-15 20:14:30 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/wrapper:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2021-09-20 16:17:03 +00:00
|
|
|
],
|
|
|
|
)
|