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-12-08 20:37:20 +00:00
|
|
|
"conversions.go",
|
|
|
|
"conversions_block.go",
|
|
|
|
"conversions_state.go",
|
2023-08-03 22:24:23 +00:00
|
|
|
"errors.go",
|
2023-07-24 22:16:45 +00:00
|
|
|
"request.go",
|
|
|
|
"structs.go",
|
2023-12-08 20:37:20 +00:00
|
|
|
"structs_block.go",
|
|
|
|
"structs_state.go",
|
2023-07-24 22:16:45 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/shared",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2023-12-08 20:37:20 +00:00
|
|
|
"//api/server: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-12-08 20:37:20 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2023-08-08 22:54:04 +00:00
|
|
|
"//beacon-chain/sync:go_default_library",
|
2023-08-21 15:42:43 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2023-09-20 19:06:11 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
|
|
|
"//consensus-types/interfaces: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-12-08 20:37:20 +00:00
|
|
|
"//container/slice:go_default_library",
|
2023-09-01 10:51:27 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
|
|
|
"//math:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-09-01 10:51:27 +00:00
|
|
|
"//proto/engine/v1:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2023-09-01 10:51:27 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common: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-09-01 10:51:27 +00:00
|
|
|
"@com_github_pkg_errors//: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
|
|
|
],
|
|
|
|
)
|