prysm-pulse/scripts
mkinney 9ca95530fa allow passing no,prompt,force options to clear-db (#3871)
* allow passing no,prompt,force options to clear-db

* ensure the node test runs ok

* remove clear-db option and add force-clear-db; remove no longer needed file

* add clear-db option back; force-clear-db overrides

* add clear-db option back to usage

* revert to only using --clear-db
2019-10-31 17:55:32 +08:00
..
apply-all-eth2-k8.sh Create bash scripts for initializing beacon chain and 8 validators (#1996) 2019-03-15 10:42:57 -04: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 Clean Up Todos and Add in Issue Checker (#640) 2018-10-11 13:52:09 -05:00
coverage.sh Update Documentation + Create a Subproject for Important Markdown Docs (#451) 2018-09-01 21:25:06 -05:00
deploy-deposit-contract.sh Fix bash scripts for initializing beacon-chain (#2080) 2019-04-02 15:45:40 -05:00
gcp_startup_script.sh Add GCP test configuration and p2p-host-ip flag (#2510) 2019-05-06 13:33:19 -04:00
interop_start.sh Antoine sent me a patch instead of a PR /shrug? (#3446) 2019-09-11 20:51:14 -07:00
README.md Create bash scripts for initializing beacon chain and 8 validators (#1996) 2019-03-15 10:42:57 -04:00
setup-8-validators.sh Validator-multiple key (#2069) 2019-04-18 12:23:38 -05:00
start-beacon-chain.sh allow passing no,prompt,force options to clear-db (#3871) 2019-10-31 17:55:32 +08:00
start-single-validator.sh Add deposit index to beacon state (#2232) 2019-04-14 18:17:39 +10:00
update-go-pbs.sh Manually run goimports in update-go-pbs.sh (#2014) 2019-03-17 16:19:38 -04:00
update-mockgen.sh Remove beacon rpc service (#3515) 2019-09-18 06:34:50 -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 Spec freeze updates (#2312) 2019-07-19 19:16:10 -05: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.