prysm-pulse/validator/rpc/apimiddleware
Sammy Rosso 20f4d21b83
Keymanager API: Add validator voluntary exit endpoint (#12299)
* Initial setup

* Fix + Cleanup

* Add query

* Fix

* Add epoch

* James' review part 1

* James' review part 2

* James' review part 3

* Radek' review

* Gazelle

* Fix cycle

* Start unit test

* fixing part of the test

* Mostly fix test

* Fix tests

* Cleanup

* Handle error

* Remove times

* Fix all tests

* Fix accidental deletion

* Unmarshal epoch

* Add custom_type

* Small fix

* Fix epoch

* Lint fix

* Add test + fix empty query panic

* Add comment

* Fix regex

* Add correct error message

* Change current epoch to use slot

* Return error if incorrect epoch passed

* Remove redundant type conversion

* Fix tests

* gaz

* Remove nodeClient + pass slot

* Remove slot from parameters

* Fix tests

* Fix test attempt 2

* Fix test attempt 2

* Remove nodeClient from ProposeExit

* Fix

* Fix tests

---------

Co-authored-by: james-prysm <james@prysmaticlabs.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-06-21 14:06:16 -05:00
..
BUILD.bazel Keymanager API: Add validator voluntary exit endpoint (#12299) 2023-06-21 14:06:16 -05:00
custom_hooks_test.go Keymanager API: Add validator voluntary exit endpoint (#12299) 2023-06-21 14:06:16 -05:00
custom_hooks.go Keymanager API: Add validator voluntary exit endpoint (#12299) 2023-06-21 14:06:16 -05:00
endpoint_factory.go Keymanager API: Add validator voluntary exit endpoint (#12299) 2023-06-21 14:06:16 -05:00
structs_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
structs.go Keymanager API: Add validator voluntary exit endpoint (#12299) 2023-06-21 14:06:16 -05:00