prysm-pulse/hack
kasey 1df173e701
Block backfilling (#12968)
* backfill service

* fix bug where origin state is never unlocked

* support mvslice states

* use renamed interface

* refactor db code to skip block cache for backfill

* lint

* add test for verifier.verify

* enable service in service init test

* cancellation cleanup

* adding nil checks to configset juggling

* assume blocks are available by default

As long as we're sure the AvailableBlocker is initialized correctly
during node startup, defaulting to assuming we aren't in a checkpoint
sync simplifies things greatly for tests.

* block saving path refactor and bugfix

* fix fillback test

* fix BackfillStatus init tests

---------

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-23 07:54:30 +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
build_and_upload_docker.sh Multiarch docker containers (#12428) 2023-09-28 15:24:16 +00:00
check_gazelle.sh Fix numerous spelling error and typos in the log messages, comments, and documentation. (#12385) 2023-05-11 20:45:43 +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 Fix numerous spelling error and typos in the log messages, comments, and documentation. (#12385) 2023-05-11 20:45:43 +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 Enable dupword linter & fix findings (#12271) 2023-04-18 22:01:27 +00:00
latest_version_tag.sh CI: Add support for buildbuddy uploads (#12378) 2023-05-10 12:30:40 +00:00
mirror-ethereumapis.sh Fix numerous spelling error and typos in the log messages, comments, and documentation. (#12385) 2023-05-11 20:45:43 +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 Block backfilling (#12968) 2024-01-23 07:54:30 +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 Hook to slot stream instead of block stream on the VC (#13327) 2023-12-13 23:13:56 +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 Fix docker image version strings in CI (#13356) 2023-12-15 19:15:51 +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.