2023-08-03 22:24:23 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2023-07-24 22:16:45 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2023-08-03 22:24:23 +00:00
|
|
|
"errors.go",
|
2023-07-24 22:16:45 +00:00
|
|
|
"request.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/eth/shared",
|
2023-07-24 22:16:45 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2024-02-03 11:57:01 +00:00
|
|
|
"//api/server/structs:go_default_library",
|
2023-08-08 22:54:04 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2023-09-20 19:06:11 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
2023-08-08 22:54:04 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2023-09-20 19:06:11 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
2023-08-03 22:24:23 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2024-01-04 17:25:18 +00:00
|
|
|
srcs = [
|
|
|
|
"errors_test.go",
|
|
|
|
"request_test.go",
|
|
|
|
],
|
2023-08-03 22:24:23 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2023-10-13 17:21:38 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-08-03 22:24:23 +00:00
|
|
|
"//testing/assert:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2023-07-24 22:16:45 +00:00
|
|
|
],
|
|
|
|
)
|