prysm-pulse/scripts
Preston Van Loon 7cc32c4dda
Various code inspection resolutions (#7438)
* remove unused code

* remove defer use in loop

* Remove unused methods and constants

* gofmt and gaz

* nilness check

* remove unused args

* Add TODO for refactoring subscribeWithBase to remove unused arg. It seems too involved to include in this sweeping PR. https://github.com/prysmaticlabs/prysm/issues/7437

* replace empty slice declaration

* Remove unnecessary type conversions

* remove redundant type declaration

* rename receivers to be consistent

* Remove bootnode query tool. It is now obsolete by discv5

* Remove relay node. It is no longer used or supported

* Revert "Remove relay node. It is no longer used or supported"

This reverts commit 4bd7717334dad85ef4766ed9bc4da711fb5fa810.

* Delete unused test directory

* Delete unsupported gcp startup script

* Delete old k8s script

* build fixes

* fix build

* go mod tidy

* revert slasher/db/kv/block_header.go

* fix build

* remove redundant nil check

* combine func args

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
2020-10-12 08:11:05 +00:00
..
check_gazelle.sh Use --batch for gazelle to help with timeouts on buildkite (#843) 2018-11-21 07:35:47 -05:00
check_visibility.sh Spec freeze updates (#2312) 2019-07-19 19:16:10 -05:00
check-todo.sh Serve Prysm Web UI from Validator (#7470) 2020-10-09 09:58:30 -05:00
common.sh Assert gfind is available on OSX, for protobufs updates (#6112) 2020-06-03 21:15:37 +00:00
coverage.sh Update Documentation + Create a Subproject for Important Markdown Docs (#451) 2018-09-01 21:25:06 -05:00
interop_start.sh Docker rpc (#3868) 2019-11-04 08:37:23 -06:00
README.md Create bash scripts for initializing beacon chain and 8 validators (#1996) 2019-03-15 10:42:57 -04:00
tag-versioned-docker-images.sh Add a script to tag docker images as stable or by their git tag version (#6808) 2020-07-31 18:25:14 +00:00
update-go-pbs.sh Assert gfind is available on OSX, for protobufs updates (#6112) 2020-06-03 21:15:37 +00:00
update-go-ssz.sh Assert gfind is available on OSX, for protobufs updates (#6112) 2020-06-03 21:15:37 +00:00
update-mockgen.sh Remote Keymanager: Proto Definitions and Basic Client Implementation (#6526) 2020-07-10 05:49:56 +00:00
upload_fuzzers.sh Add beacon state unmarshal fuzzer, afl support (#6625) 2020-09-14 11:42:08 -07:00
upload-github-release-asset.sh Add script to upload github assets (#3822) 2019-10-23 22:21:35 +08:00
workspace_status.sh Use STABLE_ prefix for git tag to force a relink of version (#6307) 2020-06-18 19:59:47 +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, and visibility rules tools for Bazel packages.

Instructions to run a single beacon chain node and 8 validators locally using the scripts.

  1. Ensure your private key path is correct in all the files below.

  2. Run ./deploy-deposit-contract.sh

  3. Put the resulting contract address in start-beacon-chain.sh and setup-8-validators.sh.

  4. Run ./start-beacon-chain.sh

  5. Run ./setup-8-validators.sh

  6. You can use tail -f /tmp/data/validator#.log with # as a number from 1 - 8 to view the output of the validators.