prysm-pulse/beacon-chain/rpc
Sammy Rosso 6a0db800b3
GetValidatorPerformance http endpoint (#12557)
* Add http endpoint for GetValidatorPerformance

* Add tests

* fix up client usage

* Revert changes

* refactor to reuse code

* Move endpoint + move ComputeValidatorPerformance

* Radek's comment change

* Add Bazel file

* Change endpoint path

* Add server for http endpoints

* Fix server

* Create core package

* Gaz

* Add correct error code

* Fix error code in test

* Adding errors

* Fix errors

* Fix default GRPC error

* Change http errors to core ones

* Use error status without helper

* Fix

* Capitalize GRPC error messages

---------

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2023-07-07 14:49:44 +00:00
..
apimiddleware Fix Uint256 Json Parsing (#12540) 2023-06-16 09:43:20 +00:00
core GetValidatorPerformance http endpoint (#12557) 2023-07-07 14:49:44 +00:00
eth Add expected withdrawals API (#12519) 2023-06-21 14:36:47 +00:00
lookup Block rewards API endpoint (#12020) 2023-03-28 18:44:41 +02:00
prysm GetValidatorPerformance http endpoint (#12557) 2023-07-07 14:49:44 +00:00
testutil Enable nilerr linter & fix findings (#12270) 2023-04-18 20:53:16 +00:00
BUILD.bazel GetValidatorPerformance http endpoint (#12557) 2023-07-07 14:49:44 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
service_test.go Block rewards API endpoint (#12020) 2023-03-28 18:44:41 +02:00
service.go GetValidatorPerformance http endpoint (#12557) 2023-07-07 14:49:44 +00:00