mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
9ca95530fa
* 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
17 lines
408 B
Bash
Executable File
17 lines
408 B
Bash
Executable File
#!/bin/bash
|
|
while test $# -gt 0; do
|
|
case "$1" in
|
|
--deposit-contract)
|
|
shift
|
|
DEPOSIT_CONTRACT=$1
|
|
shift
|
|
;;
|
|
*)
|
|
echo "$1 is not a recognized flag!"
|
|
exit 1;
|
|
;;
|
|
esac
|
|
done
|
|
|
|
bazel run //beacon-chain -- --clear-db --deposit-contract $DEPOSIT_CONTRACT --web3provider=wss://goerli.infura.io/ws/v3/be3fb7ed377c418087602876a40affa1
|