prysm-pulse/validator/client/beacon-api
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
..
mock Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
attestation_data_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
attestation_data.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
beacon_api_helpers_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
beacon_api_helpers.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
beacon_api_validator_client_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
beacon_api_validator_client.go Add REST implementation for Validator's ValidatorIndex (#11712) 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
domain_data_test.go Add REST implementation for Validator's DomainData (#11711) 2022-12-05 10:27:41 +00:00
domain_data.go Add REST implementation for Validator's DomainData (#11711) 2022-12-05 10:27:41 +00:00
genesis_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
genesis.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
index_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
index.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
json_rest_handler_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
json_rest_handler.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
state_validators_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
state_validators.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00
wait_for_chain_start_test.go Add REST implementation for Validator's ValidatorIndex (#11712) 2022-12-06 12:27:26 +00:00