Raul Jordan
29513c804c
Create Encoding Bytesutil ( #9658 )
...
* bytesutil
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 15:23:37 +00:00
Raul Jordan
d2f74615ab
Move Miscellaneous Shared/ Packages Into Semantic Groups ( #9624 )
...
* remove shared network and ip util
* forkutil
* gaz
* build
* gaz
* nogo
* genrule
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-17 19:20:50 +00:00
terence tsao
ee5d75732d
Add pkg crypto ( #9603 )
...
* Add pkg crypto
* Update go.yml
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-15 22:55:11 +00:00
terence tsao
3e71997290
Create time Package for Shared/timeutil, mclock and slotutil ( #9594 )
...
* add time pkg
* Go fmt
2021-09-15 00:09:04 +00:00
Raul Jordan
6dadb80cc4
Move v1alpha1 into Prysm API namespace ( #9245 )
2021-07-21 21:34:07 +00: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
Panagiotis Georgiadis
46f6bd6d08
A bit of cleanup based on goconst tool ( #8529 )
...
* Make 1 occurence of 'foo', 'bar' and 'fizz!'
* Make 1 occurence of 'merkleizing list that is too large, over limit' string
* Limit password occurrences
* Make only 1 occurence of 'strongPass'
* Limit testMnemonic occurrences
* Limit expected epoch error messages
* Rename errors and use constant
* Update bazel dependencies
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2021-03-02 11:39:54 +00:00
Radosław Kapka
4d28d5e4d2
Listen for account changes only when required ( #8503 )
...
* initial implementation
* remove listening for changes from wallet creation
* goimports
* test fix
* more goimports
* listen for changes when initializing wallet through gRPC
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-02-24 18:05:46 +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