Plumb --warp-slot
through net scripts (#10639)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
@ -26,6 +26,7 @@ genesisOptions="${17}"
|
||||
extraNodeArgs="${18}"
|
||||
gpuMode="${19:-auto}"
|
||||
GEOLOCATION_API_KEY="${20}"
|
||||
maybeWarpSlot="${21}"
|
||||
set +x
|
||||
|
||||
missing() {
|
||||
@ -229,6 +230,11 @@ EOF
|
||||
fi
|
||||
multinode-demo/setup.sh "${args[@]}"
|
||||
|
||||
if [[ -n "$maybeWarpSlot" ]]; then
|
||||
# shellcheck disable=SC2086 # Do not want to quote $maybeWarSlot
|
||||
solana-ledger-tool -l config/bootstrap-validator create-snapshot 0 config/bootstrap-validator $maybeWarpSlot
|
||||
fi
|
||||
|
||||
solana-ledger-tool -l config/bootstrap-validator shred-version --max-genesis-archive-unpacked-size 1073741824 | tee config/shred-version
|
||||
fi
|
||||
args=(
|
||||
|
Reference in New Issue
Block a user