Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Support ad-hoc genesis args in run.sh (#9697)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
ryoqun authored Apr 24, 2020
1 parent 3670d3f commit d44e0b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ fi
if [[ -e "$ledgerDir"/genesis.bin || -e "$ledgerDir"/genesis.tar.bz2 ]]; then
echo "Use existing genesis"
else
# shellcheck disable=SC2086
solana-genesis \
--hashes-per-tick sleep \
--faucet-pubkey "$dataDir"/faucet.json \
Expand All @@ -72,7 +73,8 @@ else
"$dataDir"/validator-vote-account.json \
"$dataDir"/validator-stake-account.json \
--ledger "$ledgerDir" \
--operating-mode development
--operating-mode development \
$SOLANA_RUN_SH_GENESIS_ARGS
fi

abort() {
Expand Down

0 comments on commit d44e0b7

Please sign in to comment.