mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-08 02:31:19 +00:00
af70677778
* adding in block rewards to represent consensus payload * Update beacon-chain/rpc/eth/validator/handlers_block.go Co-authored-by: Radosław Kapka <rkapka@wp.pl> * radek's comments * more review changes * adding more tests for forks * gaz * updating names * gaz * fixing imports * fixing variable name * gaz * fixing test * renaming variables to match data --------- Co-authored-by: Radosław Kapka <rkapka@wp.pl>
64 lines
2.6 KiB
Python
64 lines
2.6 KiB
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"handlers.go",
|
|
"server.go",
|
|
"service.go",
|
|
"structs.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/beacon-chain/rpc/eth/rewards",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//beacon-chain/blockchain:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/blocks:go_default_library",
|
|
"//beacon-chain/core/epoch/precompute:go_default_library",
|
|
"//beacon-chain/core/validators:go_default_library",
|
|
"//beacon-chain/rpc/eth/shared:go_default_library",
|
|
"//beacon-chain/rpc/lookup:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/stategen:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/interfaces:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//network/http:go_default_library",
|
|
"//runtime/version:go_default_library",
|
|
"//time/slots:go_default_library",
|
|
"@com_github_wealdtech_go_bytesutil//: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 = [
|
|
"//beacon-chain/blockchain/testing:go_default_library",
|
|
"//beacon-chain/core/altair:go_default_library",
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/signing:go_default_library",
|
|
"//beacon-chain/rpc/testutil:go_default_library",
|
|
"//beacon-chain/state:go_default_library",
|
|
"//beacon-chain/state/stategen/mock:go_default_library",
|
|
"//config/fieldparams:go_default_library",
|
|
"//config/params:go_default_library",
|
|
"//consensus-types/blocks:go_default_library",
|
|
"//consensus-types/interfaces:go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//crypto/bls:go_default_library",
|
|
"//crypto/bls/blst:go_default_library",
|
|
"//encoding/bytesutil:go_default_library",
|
|
"//network/http:go_default_library",
|
|
"//proto/prysm/v1alpha1:go_default_library",
|
|
"//testing/assert:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
"//testing/util:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_go_bitfield//:go_default_library",
|
|
],
|
|
)
|