2022-06-07 07:37:12 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["jwt.go"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/cmd/beacon-chain/jwt",
|
2022-06-07 07:37:12 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//cmd:go_default_library",
|
|
|
|
"//crypto/rand:go_default_library",
|
|
|
|
"//io/file:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["jwt_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//cmd:go_default_library",
|
|
|
|
"//io/file:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|