james-prysm
4c381938e1
HTTP validator API: wallet endpoints ( #13171 )
...
* converting wallet calls to pure http
* fixing proto and gaz
* adding routes and fixing test
* fixing error handling
* fixing protos after conflict with develop
* adding deprecation notice
* fixing route test
* review feedback
* addressing more comments
* updating comment to be more clear
* fixing web_api proto
2023-11-15 19:40:14 +00:00
james-prysm
d4726f2866
HTTP Validator API: slashing protection import and export ( #13165 )
...
* adding migration for import and export slashing protection
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handle_slashing.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing comments
* fixing unit test errors after view comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-11-15 17:35:22 +00:00
james-prysm
27b4e32e1c
HTTP Validator API: /eth/v1/keystores
( #13113 )
...
* WIP
* fixing tests
* fixing bazel
* fixing api client
* fixing tests
* fixing more tests and bazel
* fixing trace and more bazel issues
* fixing router path function definitions
* fixing more tests and deep source issues
* adding delete test
* if a route is provided, reregister before the catch all on the middleware.
* fixing linting
* fixing deepsource complaint
* gaz
* more deepsource issues
* fixing missed err check
* changing how routes are registered
* radek reviews
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* fixing unit test after sammy's review
* adding radek's comments
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
2023-10-31 16:33:54 +00:00
james-prysm
2a067d5d03
HTTP Validator API: /eth/v1/validator/{pubkey}/feerecipient
( #13085 )
...
* migrating fee recipient endpoints to pure http implementation
* fixing linting
* fixing type name
* fixing after merging develop
* fixing linting and tests
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/structs.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-24 16:55:45 +00:00
james-prysm
9c938d354d
HTTP Validator API: /eth/v1/validator/{pubkey}/gas_limit
( #13082 )
...
* WIP
* more WIP
* fixing unit tests
* gaz
* gofmt
* adding routes
* adding tests for validator routes
* adding in missed comment
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* adding log and removing unneeded type
* fixing casing on tests
* adding more tests
* Update server.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* addressing radek's comments
* handling error
* fixing naming on validator struct for mock
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-23 15:49:28 +00:00
james-prysm
7143fe80bc
HTTP VALIDATOR API: remote keymanager api /eth/v1/remotekeys
( #13059 )
...
* WIP migrating keymanager api changes
* gaz
* fixing more tests
* fixing unit tests
* fixing deepsource
* fixing visibility of package
* fixing more package visability issues
* gaz
* fixing test
* moving routes to proper location
* removing whitespae for linting
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek's comments
---------
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-19 16:17:42 +00:00
james-prysm
bfae7f3c9f
HTTP VALIDATOR API: /eth/v1/validator/{pubkey}/voluntary_exit
( #13032 )
...
* migrating set validator exit to http only and removing from api middleware
* fixing ineffassign error
* cleaning up middleware
* fixing linting
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/rpc/handlers_keymanager.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* adding more tests based on sammy's comments
* radek's feedback
* adjusting error codes
* one more status change
* fixing unit test
---------
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-16 22:16:20 +00:00