2022-07-01 23:34:11 +08:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["utils.go"],
|
2023-03-17 11:52:56 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/crypto/ecdsa",
|
2022-07-01 23:34:11 +08:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_btcsuite_btcd_btcec_v2//:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
2022-10-07 02:24:51 -05:00
|
|
|
"@com_github_libp2p_go_libp2p//core/crypto:go_default_library",
|
2022-07-01 23:34:11 +08:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["utils_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"@com_github_btcsuite_btcd_btcec_v2//:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//crypto:go_default_library",
|
2022-10-07 02:24:51 -05:00
|
|
|
"@com_github_libp2p_go_libp2p//core/crypto:go_default_library",
|
2022-07-01 23:34:11 +08:00
|
|
|
],
|
|
|
|
)
|