prysm-pulse/hack
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
..
beacon-node-api Update Beacon API's Postman collection to 2.2.0 (#10559) 2022-04-21 15:07:58 +00:00
keymanager-api Keymanager APIs: fee recipient api (#10850) 2022-06-16 15:10:23 +00:00
check_gazelle.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
check-todo.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
ci-coverage.sh CI: use nostamp for code coverage and fuzzer uploads (#9634) 2021-09-20 18:59:44 +00:00
codecov.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
common.sh update-go-pbs.sh: fixing script for mac users & updating bazel dependency (#11937) 2023-01-31 01:17:12 +00:00
coverage.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
interop_start.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
mirror-ethereumapis.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
README.md update-go-pbs.sh: fixing script for mac users & updating bazel dependency (#11937) 2023-01-31 01:17:12 +00:00
tag-versioned-docker-images.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
update-go-pbs.sh Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
update-go-ssz.sh Only build non-test targets in hack/update-go-pbs.sh (#12101) 2023-03-10 17:49:34 +00:00
update-mockgen.sh Add REST API stubs for beacon chain, node and slasher clients (#12094) 2023-03-20 16:32:32 +00:00
upload-github-release-asset.sh Move Scripts Into Hack/ Directory (#9605) 2021-09-16 16:22:39 +00:00
workspace_status_ci.sh CI: nostamp config for better cache hits (#9633) 2021-09-20 17:29:41 +00:00
workspace_status.sh Fix command to fetch latest stable version (#11782) (#11787) 2022-12-16 16:13:54 +00:00

Bash Scripts

This subproject contains useful bash scripts for working with our repository. We have a simple tool that outputs coverage, a simple tool to check for gazelle requirements, update Go protobuf generated files, visibility rules tools for Bazel packages, and more.

update-go-pbs.sh

This script generates the *.pb.go and *.pb.gw.go files from the *.proto files. After running update-go-pbs.sh keep only the *.pb.go and *pb.gw.go for the protos that have changed before checking in. Note: the generated files may not have imports correctly linted and will need to be fixed to remote associated errors.