mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
0544dd1f8e
* cmd tests * deposit util tests * feature config tests * hashutil tests * htr util tests * interop tests * ip util tests
46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"hashers.go",
|
|
"helpers.go",
|
|
"htrutils.go",
|
|
"merkleize.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/htrutils",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/trieutil:go_default_library",
|
|
"@com_github_minio_sha256_simd//:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = [
|
|
"hashers_test.go",
|
|
"helpers_test.go",
|
|
"htrutils_test.go",
|
|
"merkleize_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
"//shared/testutil/assert:go_default_library",
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|