2020-05-05 07:22:26 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2018-10-14 02:32:29 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-12-27 06:48:09 +00:00
|
|
|
srcs = [
|
|
|
|
"hash.go",
|
|
|
|
"merkleRoot.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/hashutil",
|
|
|
|
visibility = ["//visibility:public"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
2019-10-03 16:33:16 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2020-03-28 18:32:11 +00:00
|
|
|
"@com_github_ferranbt_fastssz//:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
2019-10-03 16:33:16 +00:00
|
|
|
"@com_github_minio_highwayhash//:go_default_library",
|
2019-08-02 21:42:59 +00:00
|
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
"@org_golang_x_crypto//sha3:go_default_library",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2018-12-27 06:48:09 +00:00
|
|
|
srcs = [
|
|
|
|
"hash_test.go",
|
|
|
|
"merkleRoot_test.go",
|
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-01-14 16:41:20 +00:00
|
|
|
deps = [
|
2019-03-07 16:32:01 +00:00
|
|
|
"//proto/testing:go_default_library",
|
2020-03-28 18:32:11 +00:00
|
|
|
"//shared/bls:go_default_library",
|
2019-01-31 02:53:58 +00:00
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-03-07 16:32:01 +00:00
|
|
|
"@com_github_google_gofuzz//:go_default_library",
|
2020-03-28 18:32:11 +00:00
|
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
2019-01-14 16:41:20 +00:00
|
|
|
],
|
2018-10-14 02:32:29 +00:00
|
|
|
)
|