Dhruv Bodani
700f5fee8c
Add context
to beacon API REST implementation ( #11847 )
...
* add context to beacon APIs
* add TODO to merge GET and POST methods
* fix linter action
Co-authored-by: kasey <489222+kasey@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-06 03:32:13 +00:00
Manu NALEPA
e1408deb40
Add REST implementation for MultipleValidatorStatus
( #11786 )
...
* Add REST implementation for `MultipleValidatorStatus`
* Fix PR comments
* Address PR comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-01-04 23:15:23 +00:00
Manu NALEPA
9c21809c50
Add REST implementation for ValidatorStatus
( #11757 )
...
* Add REST implementation for `ValidatorStatus`
* Fix review comments
2022-12-14 12:58:36 +00:00
Patrice Vignola
dbeb3ee886
Onboard validator's Beacon REST API usage to e2e tests ( #11704 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Onboard validator's Beacon REST API usage to e2e tests
* Remove unused variables
* Remove use_beacon_api tags
* Fix DeepSource errors
* Revert unneeded changes
* Revert evaluator changes
* Revert import reordering
* Address PR comments
* Remove all REST API e2e tests except minimal one
* Fix validator pointing to inexisting beacon node port
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-08 14:38:56 +00:00
Manu NALEPA
0a5c65e29c
Add REST implementation for Validator's ValidatorIndex
( #11712 )
...
* Add GetAttestationData
* Add tests
* Add many more tests and refactor
* Fix logic
* Address PR comments
* Address PR comments
* Add jsonRestHandler and decouple http logic from rest of the code
* Add buildURL tests
* Remove handlers_test.go
* Improve tests
* Implement `ValidatorIndex` of `beaconApiValidatorClient` using Beacon API
* Implement getStateValidators
* `validatorIndex`: Use `getStateValidators`
Co-authored-by: Patrice Vignola <vignola.patrice@gmail.com>
2022-12-06 12:27:26 +00:00