From d44e0b7cd8a710d68de3415191cf603beefef8c2 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Fri, 24 Apr 2020 14:48:53 +0900 Subject: [PATCH] Support ad-hoc genesis args in run.sh (#9697) automerge --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index be64fb7c46a1f0..1142d9eb230bc0 100755 --- a/run.sh +++ b/run.sh @@ -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 \ @@ -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() {