prysm-pulse/validator/rpc
Fabrice Cheng 16bccf05cf
[Feature] enable/disable validator accounts (#7746)
* add --enable --disable flags for validator accounts

* refactor DeleteAccountConfig into AccountConfig to be used for enable and disable feature

* add `disable` flag for validator accounts

* [wip] add method to disable account

* refactor account delete

* add disable & enable with proper filters

* fix keymanager unit tests

* update DisabledPublicKeys to be a string instead of [][]byte

* fix FetchValidatingPrivateKeys to only fetch active keys with new string format

* fix FetchValidationPrivateKeys with new DisabledPublicKeys format (as a string)

* rename file + update AccountsConfig to include Disable, Enable and Delete distinct attributes

* rename accounts_activation -> accounts_enable_disable

* revert changes from using string to [][]byte for DisabledPublicKeys

* add FetchAllValidatingPublicKeys to preserve the functionality for accounts list, backup and delete

* fix unit tests

* convert publickeys from [][]byte to str before passing it to pb message

* add unit tests for disable keys

* add unit tests for EnableAccounts

* revert WORKSPACE LLM for now

* ran gazelle

* move function to convert KeymanagerOpts to Config inside rpc and run gazelle

* add unit tests for FetchAllValidatingPublicKeys

* fix keymanageropts for InteropKey

* Fix mistake for enable accounts

* add docstring to DisableAccountsCli and EnableAccountsCli

* remove previous testnet and add toledo & pyrmont
2020-11-13 10:06:24 -06:00
..
gateway Fix Web UI Integration With Prysm Beta (#7591) 2020-10-21 17:32:00 -05:00
accounts_test.go Update BLST And Herumi (#7632) 2020-10-30 19:06:33 +00:00
accounts.go Web UI Security Improvements (#7676) 2020-10-29 16:38:47 -05:00
auth_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
auth.go Prevent Usage of Stdlib File/Dir Writing With Static Analysis (#7685) 2020-11-09 14:27:03 -06:00
BUILD.bazel Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
health_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
health.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
intercepter_test.go Validate JWT Signing Type in RPC (#7576) 2020-10-20 05:37:12 +00:00
intercepter.go Validate JWT Signing Type in RPC (#7576) 2020-10-20 05:37:12 +00:00
server_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
server.go Web UI Security Improvements (#7676) 2020-10-29 16:38:47 -05:00
wallet_test.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
wallet.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00