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
Patrice Vignola
e843cafe7d
Add REST implementation for Validator's GetBeaconBlock
( #11772 )
...
* WIP
* WIP
* WIP
* Remove unused parameter
* Address PR comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-15 22:34:05 +00:00
Patrice Vignola
fa01ee5eba
Add REST implementation for Validator's ProposeBeaconBlock
( #11731 )
...
* WIP
* WIP
* WIP
* Add tests
* WIP
* Add more tests
* Address DeepSource errors
* Remove unused param
* Add more tests
* Address PR comments
* Address PR comments
* Fix formatting
* Remove unused parameter
* Fix TestLittleEndianBytesToBigInt
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-12 10:39:51 +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