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",
|
|
|
|
"structs.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2023-08-08 22:54:04 +00:00
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
|
|
"//beacon-chain/sync:go_default_library",
|
2023-08-21 15:42:43 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2023-08-08 22:54:04 +00:00
|
|
|
"//consensus-types/validator:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"//network/http:go_default_library",
|
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2023-08-03 22:24:23 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["errors_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//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
|
|
|
],
|
|
|
|
)
|