File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,9 @@ while [[ -n $1 ]]; do
88
88
elif [[ $1 == --expected-bank-hash ]]; then
89
89
args+=(" $1 " " $2 " )
90
90
shift 2
91
+ elif [[ $1 == --expected-shred-version ]]; then
92
+ args+=(" $1 " " $2 " )
93
+ shift 2
91
94
elif [[ $1 == --accounts ]]; then
92
95
args+=(" $1 " " $2 " )
93
96
shift 2
Original file line number Diff line number Diff line change 264
264
265
265
if [[ -n " $maybeWaitForSupermajority " ]]; then
266
266
bankHash=$( agave-ledger-tool -l config/bootstrap-validator bank-hash --halt-at-slot 0)
267
- extraNodeArgs=" $extraNodeArgs --expected-bank-hash $bankHash "
267
+ shredVersion=" $( cat " $SOLANA_CONFIG_DIR " /shred-version) "
268
+ extraNodeArgs=" $extraNodeArgs --expected-bank-hash $bankHash --expected-shred-version $shredVersion "
268
269
echo " $bankHash " > config/bank-hash
269
270
fi
270
271
fi
You can’t perform that action at this time.
0 commit comments