mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 05:47:59 -05:00
* 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
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.
-
Ensure your private key path is correct in all the files below.
-
Run
./deploy-deposit-contract.sh -
Put the resulting contract address in
start-beacon-chain.shandsetup-8-validators.sh. -
Run
./start-beacon-chain.sh -
Run
./setup-8-validators.sh -
You can use
tail -f /tmp/data/validator#.logwith # as a number from 1 - 8 to view the output of the validators.