prysm-pulse/validator/client/beacon-api/mock
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
..
BUILD.bazel Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
genesis_mock.go Add REST implementation for Validator's DomainData (#11711) 2022-12-05 10:27:41 +00:00
json_rest_handler_mock.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00