2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2021-03-22 15:19:38 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
srcs = [
|
|
|
|
"handlers.go",
|
|
|
|
"server.go",
|
|
|
|
"structs.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/rewards",
|
|
|
|
visibility = ["//visibility:public"],
|
2021-03-22 15:19:38 +00:00
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
|
|
"//beacon-chain/core/blocks:go_default_library",
|
2023-06-21 13:16:53 +00:00
|
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/core/validators:go_default_library",
|
2023-10-02 15:34:34 +00:00
|
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
2023-06-21 13:16:53 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
"//beacon-chain/state/stategen:go_default_library",
|
2023-06-21 13:16:53 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
|
|
|
"//config/params:go_default_library",
|
|
|
|
"//consensus-types/primitives:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"//network/http:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//runtime/version:go_default_library",
|
2023-06-21 13:16:53 +00:00
|
|
|
"//time/slots:go_default_library",
|
|
|
|
"@com_github_wealdtech_go_bytesutil//:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2023-03-28 16:44:41 +00:00
|
|
|
srcs = ["handlers_test.go"],
|
2021-03-22 15:19:38 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/core/altair:go_default_library",
|
2023-07-18 08:31:15 +00:00
|
|
|
"//beacon-chain/core/helpers:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
2023-06-21 13:16:53 +00:00
|
|
|
"//beacon-chain/state:go_default_library",
|
2022-01-26 14:48:20 +00:00
|
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//config/fieldparams:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2022-08-02 15:30:46 +00:00
|
|
|
"//consensus-types/blocks:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//consensus-types/interfaces:go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"//crypto/bls:go_default_library",
|
|
|
|
"//crypto/bls/blst:go_default_library",
|
2021-09-23 15:23:37 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2023-07-31 17:32:39 +00:00
|
|
|
"//network/http:go_default_library",
|
2021-07-21 21:34:07 +00:00
|
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
2021-03-22 15:19:38 +00:00
|
|
|
],
|
|
|
|
)
|