mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* Replaced mux with http.Servmux * updated change log * james suggestions * lint * lint fix 2 * passed middlewares from validatorclient * gazelle fix * fixed issue * added middlewares field to rpc config * suggestions applied * updated godoc * fixed TestCors * refactor * godoc added * cli code removed and lint fixed --------- Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
46 lines
1.7 KiB
Python
46 lines
1.7 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"handlers.go",
|
|
"server.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/beacon-chain/rpc/eth/debug",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//api:go_default_library",
|
|
"//api/server/structs:go_default_library",
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/db:go_default_library",
|
|
"//beacon-chain/rpc/eth/helpers:go_default_library",
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
"//network/httputil:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
"@io_opencensus_go//trace:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["handlers_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//api:go_default_library",
|
|
"//api/server/structs:go_default_library",
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/db/testing:go_default_library",
|
|
"//beacon-chain/forkchoice/doubly-linked-tree:go_default_library",
|
|
"//beacon-chain/forkchoice/types:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
|
|
],
|
|
)
|