Radosław Kapka
6de7df6b9d
Get genesis only once ( #13796 )
2024-03-26 03:26:34 +00:00
james-prysm
d6ae838bbf
replace receive slot with event stream ( #13563 )
...
* WIP
* event stream wip
* returning nil
* temp removing some tests
* wip health checks
* fixing conficts
* updating fields based on linting
* fixing more errors
* fixing mocks
* fixing more mocks
* fixing more linting
* removing white space for lint
* fixing log format
* gaz
* reverting changes on grpc
* fixing unit tests
* adding in tests for health tracker and event stream
* adding more tests for streaming slot
* gaz
* Update api/client/event/event_stream.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* review comments
* Update validator/client/runner.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/beacon-api/beacon_api_validator_client.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing radek comments
* Update validator/client/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing review feedback
* moving things to below next slot ticker
* fixing tests
* update naming
* adding TODO comment
* Update api/client/beacon/health.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing comments
* fixing broken linting
* fixing more import issues
* fixing more import issues
* linting
* updating based on radek's comments
* addressing more comments
* fixing nogo error
* fixing duplicate import
* gaz
* adding radek's review suggestion
* Update proto/prysm/v1alpha1/node.proto
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* preston review comments
* Update api/client/event/event_stream.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Update validator/client/validator.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* addressing some more preston review items
* fixing tests for linting
* fixing missed linting
* updating based on feedback to simplify
* adding interface check at the top
* reverting some comments
* cleaning up intatiations
* reworking the health tracker
* fixing linting
* fixing more linting to adhear to interface
* adding interface check at the the top of the file
* fixing unit tests
* attempting to fix dependency cycle
* addressing radek's comment
* Update validator/client/beacon-api/beacon_api_validator_client.go
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* adding more tests and feedback items
* fixing TODO comment
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-03-13 13:01:05 +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
Radosław Kapka
204de13c86
REST VC: Subscribe to Beacon API events ( #13453 )
...
* Revert "Revert "REST VC: Subscribe to Beacon API events (#13354 )" (#13428 )"
This reverts commit 8d092a1113
.
* change logic
* review
* test fix
* fix critical error
* merge flag check
* change error msg
* return on errors
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-01-18 14:27:41 +00:00
Radosław Kapka
2875ce6ee1
Use a single rest handler ( #13446 )
2024-01-11 16:03:35 +00:00
Radosław Kapka
d0bf03e863
Simplify error handling for JsonRestHandler ( #13369 )
...
* Simplify error handling for `JsonRestHandler`
* POST
* reduce complexity
* review feedback
* uncomment route
* fix rest of tests
2023-12-22 22:39:20 +00:00
Radosław Kapka
a0ca4a67b0
Remove API Middleware ( #13243 )
...
* remove api/gateway/apimiddleware
* fix errors in api/gateway
* remove beacon-chain/rpc/apimiddleware
* fix errors in api/client/beacon
* fix errors in validator/client/beacon-api
* fix errors in beacon-chain/node
* fix errors in validator/node
* fix errors in cmd/prysmctl/validator
* fix errors in testing/endtoend
* fix all other code
* remove comment
* fix tests
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-04 11:55:21 +00:00
Radosław Kapka
a7edec9b98
Better error handling in REST VC ( #13203 )
2023-11-21 17:42:55 +01:00
Radosław Kapka
a536612c39
HTTP Beacon APIs for node ( #13010 )
2023-10-11 22:18:49 +02:00
Dhruv Bodani
4ef29a24e4
Add REST implementation of node version endpoint ( #12809 )
2023-08-25 13:14:08 +00:00
Patrice Vignola
61fed336e1
Add REST API endpoint for node client's GetSyncStatus
( #12189 )
...
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-03-29 13:38:31 +00:00
Patrice Vignola
83ccb15e66
Add REST API endpoint for node client's GetGenesis
( #12168 )
...
* Add REST API endpoint for node client's GetGenesis
* Remove unused parameter
* Fix test name
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-28 11:36:41 +00:00
Patrice Vignola
c0ee781638
Remove unused validator endpoints from validator REST API ( #12167 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-21 16:52:42 +00:00
Patrice Vignola
7c49277e83
Add REST API stubs for beacon chain, node and slasher clients ( #12094 )
...
* WIP
* WIP
* Remove duplicate mock
* WIP
* Revert "WIP"
This reverts commit a8010057fef4209dfddde34ea868b88f1e196c44.
* Fix build break
* Remove unused variable
* Fix build break
* Rename validator_mock to validatormock
* Fix failing test
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-20 16:32:32 +00:00