Potuz
96df81d5c5
Hook to slot stream instead of block stream on the VC ( #13327 )
...
* Hook to slot stream instead of block stream on the VC
* Implement StreamSlots in the BN
* mock update
* fix tests
* don't return from stream
* Terence's review
* deepsource second complain
---------
Co-authored-by: rkapka <rkapka@wp.pl>
2023-12-13 23:13:56 +00:00
terencechain
9387a36b66
Refactor Exported Names to Follow Golang Best Practices ( #13075 )
...
* Fix exported names that start with a package name
* A few more renames
* Fix exported names that start with a package name
* A few more renames
* Radek's feedback
* Fix conflict
* fix keymanager test
* Fix comments
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-20 16:45:33 +00:00
Dhruv Bodani
2806326155
integrate validator count endpoint in validator client ( #12912 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-10-11 15:23:02 +02:00
Preston Van Loon
8eb82dd378
Update rules_go and gazelle to 0.42 & 0.33 (latest releases) ( #13021 )
...
* Provide @go_googleapis, update gazelle
* fix pb build failures
Fix build issues with grpc-gateway
2023-10-10 12:50:29 +08:00
Radosław Kapka
f37301c0c0
Remove remote slashing protection feature ( #12989 )
...
* Remove remote slashing protection feature
* test fix
* remove mock from tests
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-04 04:15:06 +00:00
Radosław Kapka
34b6c8f333
Use mock v1alpha1 server in Beacon API's validator functions ( #12319 )
2023-04-26 18:59:29 +02:00
Patrice Vignola
c0ee781638
Remove unused validator endpoints from validator REST API ( #12167 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-21 16:52:42 +00:00
Patrice Vignola
7c49277e83
Add REST API stubs for beacon chain, node and slasher clients ( #12094 )
...
* WIP
* WIP
* Remove duplicate mock
* WIP
* Revert "WIP"
This reverts commit a8010057fef4209dfddde34ea868b88f1e196c44.
* Fix build break
* Remove unused variable
* Fix build break
* Rename validator_mock to validatormock
* Fix failing test
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-03-20 16:32:32 +00:00
terencechain
d17996f8b0
Update to V4
🚀 ( #12134 )
...
* Update V3 from V4
* Fix build v3 -> v4
* Update ssz
* Update beacon_chain.pb.go
* Fix formatter import
* Update update-mockgen.sh comment to v4
* Fix conflicts. Pass build and tests
* Fix test
2023-03-17 18:52:56 +00:00
Patrice Vignola
0e4185b40c
Remove the StreamDuties endpoint ( #12044 )
...
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-02-24 15:56:31 +00:00
Radosław Kapka
77d3ccb9ad
Clean up state types ( #11916 )
...
* Clean up state types
* rename package
2023-01-26 14:40:12 +00:00
Patrice Vignola
55f311eb73
Add REST implementation for Validator's SubscribeCommitteeSubnets
( #11804 )
...
* WIP
* Add REST implementation for Validator's SubscribeCommitteeSubnets
* Remove redundant test
* Initialize dutiesProvider
* Remove duplicate import
* Fix build break
* Address PR comments
* Remove file committed by mistake
* Fix broken test
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2023-01-18 21:21:07 +00:00
Patrice Vignola
dbeb3ee886
Onboard validator's Beacon REST API usage to e2e tests ( #11704 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Onboard validator's Beacon REST API usage to e2e tests
* Remove unused variables
* Remove use_beacon_api tags
* Fix DeepSource errors
* Revert unneeded changes
* Revert evaluator changes
* Revert import reordering
* Address PR comments
* Remove all REST API e2e tests except minimal one
* Fix validator pointing to inexisting beacon node port
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-12-08 14:38:56 +00:00
Patrice Vignola
7ab5851c54
Add a gRPC fallback mode to the validator Beacon REST API ( #11679 )
...
* Add a gRPC fallback mode to the validator Beacon REST API
* Remove --beacon_api_grpc_fallback flag
* Add missing bazel dependency
* Reorder dependency per gazelle check
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-24 11:09:07 +00:00
Patrice Vignola
0d4b98cd0a
Add REST implementation for Validator's WaitForChainStart ( #11654 )
...
* Add REST implementation for Validator's WaitForChainStart
* Add missing error mapping
* Add missing bazel dependency
* Add missing tests
* Address PR comments
* Replace EventErrorJson with DefaultErrorJson
* Add tests for WaitForChainStart
* Refactor tests
* Address PR comments
* Add gazelle:build_tag use_beacon_api comment in BUILD.bazel
* Address PR comments
* Address PR comments
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-11-22 12:12:55 +00:00
Patrice Vignola
d33af46c90
Add support for building a Beacon API validator client versus a gRPC one ( #11612 )
2022-11-07 11:29:27 +01:00