2023-07-10 19:02:44 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"handlers.go",
|
|
|
|
"server.go",
|
|
|
|
"structs.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/blob",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/rpc/core:go_default_library",
|
|
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
|
|
"//config/fieldparams:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
2023-08-14 19:17:58 +00:00
|
|
|
"@io_opencensus_go//trace:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["handlers_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/db/filesystem:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"//beacon-chain/db/testing:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
|
|
"//beacon-chain/verification:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"//config/params:go_default_library",
|
2023-12-08 20:37:20 +00:00
|
|
|
"//network/httputil:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2023-12-07 17:37:11 +00:00
|
|
|
"//testing/util:go_default_library",
|
2023-07-10 19:02:44 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
|
|
],
|
|
|
|
)
|