Raul Jordan
6dadb80cc4
Move v1alpha1 into Prysm API namespace ( #9245 )
2021-07-21 21:34:07 +00:00
David Shoots
2583dc1279
Remove noisy / unneeded log.Error() calls ( #9066 )
2021-06-20 13:31:27 -07:00
Raul Jordan
5aac06f04e
Move EthereumAPIs Into Prysm ( #8968 )
...
* begin move
* use same import path
* imports
* regen protos
* regen
* no rename
* generate ssz
* gaz
* fmt
* edit build file
* imports
* modify
* remove generated files
* remove protos
* edit imports in prysm
* beacon chain all builds
* edit script
* add generated pbs
* add replace rules
* license for ethereumapis protos
* change visibility
* fmt
* update build files to gaz ignore
* use proper form
* edit imports
* wrap block
* revert scripts
* revert go mod
2021-06-02 18:49:52 -05:00
Radosław Kapka
2fdfda2804
Fix remote keymanager's dynamic key reload ( #8817 )
...
* Fix remote keymanager's dynamic key reload
* wait for activation test
* runner test
* rename mock creation func
* fix compile error
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-04-30 15:15:22 +00:00
Radosław Kapka
1f8171d069
Dynamic key reload for remote keymanager ( #8611 )
...
* Dynamic key reload for remote keymanager
* fix failing keymanager test
* keymanager tests
* define RemoteKeymanager interface
* WaitForActivation tests
* gzl
* handle error in test
2021-03-16 10:00:05 -05:00
Radosław Kapka
dc6dee3f4e
Fix issues with dynamic key reload for imported/derived keymanager ( #8585 )
...
* implementation of handling reload
* proper implementation
* fix WaitForActivation tests
* HandleKeyReload tests
* runner tests
* do not reuse log hook between tests
* gzl
* Drop unnecessary use of the blank identifier
* move mock_validator to testutil package
* Reorganize validator client package
* reduce package visibility
* revert account changes
* gzl
* describe nil parameter
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-03-12 17:23:56 +00:00
Preston Van Loon
f074c5ee89
Fix validator activation monitoring with inactive keys ( #8558 )
...
* refactor / move waiting for activation updates
* Commentary
* Update test to follow the full code path
* gofmt and goimports
* manual imports fixes
* Apply suggestions from code review
typo fixes
* Remove redundant handleAccountsChanged and chan. Thanks @nisdas
* var sub = to sub :=
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-03-05 18:33:39 +00:00
Radosław Kapka
7d3e53f3e4
Constrain read/write channels ( #8479 )
2021-02-19 15:39:27 +00:00
terence tsao
d5ec248691
Rename getter functions to be idiomatic ( #8320 )
...
* Rename getter functions
* Rename new
* Radek's feedback
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-01-25 21:27:30 +00:00
Radosław Kapka
8ffb95bd9d
Allow dynamic key reloading when having inactive keys (imported & derived) ( #8119 )
...
* restart waiting for activation on key change
* test fixes
* wiat for activation comments
* regression test
* log fatal when validator cast fails
* derived keymanager
* review comments
* add buffer to channel
* simplify key refetch logic
* reload keys into empty wallet
* removed warning on wallet creation
* add empty line
* export AccountsKeystoreRepresentation type
* unit test for handleAccountsChanged
* test ctx cancellation
* add missing mockRemoteKeymanager interface function
* gazelle
* gzl
* fix panic inside goroutine during runner tests
* rename error message variables
* Update validator/accounts/accounts_list_test.go
* reorder imports
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2021-01-22 20:21:34 +00:00
Radosław Kapka
4ec396c025
Refetch validating keys if no keys are fetched ( #8000 )
...
* refetch validating keys every 30 seconds
* deduplicate error/log messages
* remove redundant break statement
* comment about execution flow
* move code to wait_for_activation.go
Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-12-11 20:55:52 +01:00
Preston Van Loon
923e4d3a5e
Attempt to reconnect when waiting for activation ( #8057 )
...
* Attempt to reconnect when waiting for activation
* rm fuzz/attestation_fuzz.go
* math.Min, not math.Max
* Gofmt
* resolve RVV-B0003
2020-12-10 19:26:31 -06:00