Radosław Kapka
f09fe4f038
Reorganize Prysm custom endpoints ( #13621 )
...
* Reorganize Prysm custom endpoints
* add deprecated paths
* review
2024-02-15 17:26:59 +00:00
terence
5a66807989
Update to V5 ( #13622 )
...
* First take at updating everything to v5
* Patch gRPC gateway to use prysm v5
Fix patch
* Update go ssz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-02-15 05:46:47 +00:00
Radosław Kapka
e3ce1bde45
Move API structs to api
module ( #13577 )
2024-02-03 11:57:01 +00:00
Justin Traglia
4a374435c0
Enable errname linter and fix findings ( #13341 )
2023-12-15 03:26:48 +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
terencechain
9387a36b66
Refactor Exported Names to Follow Golang Best Practices ( #13075 )
...
* Fix exported names that start with a package name
* A few more renames
* Fix exported names that start with a package name
* A few more renames
* Radek's feedback
* Fix conflict
* fix keymanager test
* Fix comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 16:45:33 +00:00
Dhruv Bodani
2806326155
integrate validator count endpoint in validator client ( #12912 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-11 15:23:02 +02:00
Radosław Kapka
7454041356
Use middleware to handle comma-separated query params ( #12995 )
2023-10-04 15:49:42 +02:00
Radosław Kapka
367504f403
Support comma-separated query params in Beacon API ( #12966 )
2023-09-29 15:40:23 +08: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