|
|
@ -789,15 +789,10 @@ do |
|
|
|
fi |
|
|
|
fi |
|
|
|
if [ ! -z "${pprof}" ]; then |
|
|
|
if [ ! -z "${pprof}" ]; then |
|
|
|
args+=( |
|
|
|
args+=( |
|
|
|
--pprof "${pprof}" |
|
|
|
--pprof "${pprof}" |
|
|
|
) |
|
|
|
) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ ! ${staking_mode} ] |
|
|
|
|
|
|
|
then |
|
|
|
|
|
|
|
args+=(--run.legacy) |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# backward compatible with older harmony node software |
|
|
|
# backward compatible with older harmony node software |
|
|
|
case "${node_type}" in |
|
|
|
case "${node_type}" in |
|
|
|
validator) |
|
|
|
validator) |
|
|
@ -806,6 +801,12 @@ do |
|
|
|
args+=( |
|
|
|
args+=( |
|
|
|
--shard_id="${shard_id}" |
|
|
|
--shard_id="${shard_id}" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ${staking_mode} == "false" ]; then |
|
|
|
|
|
|
|
args+=( |
|
|
|
|
|
|
|
--run.legacy |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
fi |
|
|
|
;; |
|
|
|
;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
;; |
|
|
|
;; |
|
|
|