2021-07-28 21:23:44 +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-07-28 21:23:44 +00:00
|
|
|
srcs = [
|
|
|
|
"beacon_block.go",
|
|
|
|
"metadata.go",
|
|
|
|
],
|
2021-07-21 21:34:07 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1/wrapper",
|
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-28 21:23:44 +00:00
|
|
|
"//proto/prysm/v1alpha1/block:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1/metadata:go_default_library",
|
2021-07-18 19:32:52 +00:00
|
|
|
"//shared/version:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2021-07-06 15:34:05 +00:00
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-07-06 15:34:05 +00:00
|
|
|
"@org_golang_google_protobuf//proto:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
2021-07-28 21:23:44 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["beacon_block_test.go"],
|
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-07 18:07:30 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2021-07-28 21:23:44 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
"//shared/version:go_default_library",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|