Radosław Kapka
e3ce1bde45
Move API structs to api
module ( #13577 )
2024-02-03 11:57:01 +00:00
Radosław Kapka
4c47756aed
HTTP endpoints cleanup ( #13251 )
...
* remove validation package
* structs cleanup
* merge with apimiddleware removal
* more validation and Bls capitalization
* builder test fix
* use strconv for uint->str conversions
* use DecodeHexWithLength
* use exact param names
* rename http package to httputil
* change conversions to fmt.Sprintf
* handle query paramsd and route variables
* spans and receiver name
* split structs, move bytes helper
* missing ok check
* fix reference to indexed failure
* errors fixup
* add godoc to helper
* fix BLS casing and chainhead ref
* review
* fix import in tests
* gzl
2023-12-08 20:37:20 +00:00
Radosław Kapka
e22258caa9
HTTP validator APIs ( #12887 )
...
* GetValidators in progress
* in progress
* completed implementation of GetValidators + some tests
* typo
* completed tests for GetValidators
* GetValidator
* GetValidatorBalances
* register
* more tests and e2e fix
* middleware cleanup
* remove struct
* handle all ignored
* test fixes
* more test fixes
* even more test fixes
* remove unused structs
* docs
* fix validator count test
* build fix
* add length checks
* lint fix
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-09-21 18:16:59 +00:00
Dhruv Bodani
30eaddf48f
Add support for validator count endpoint ( #12752 )
2023-08-24 23:11:41 +02:00
anukul
634133fedc
use struct in beacon-chain/rpc/core
to store dependencies ( #12701 )
2023-08-05 22:54:12 +02:00
Radosław Kapka
a9b003e1fe
HTTP Beacon API: /eth/v1/validator/contribution_and_proofs
( #12660 )
...
* HTTP Beacon API: `/eth/v1/validator/contribution_and_proofs`
* add comment to invalid test case
* fix validation and test
* review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-07-31 17:32:39 +00:00
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