[cmd] updated deploy.sh for adding legacy flags for nodes

pull/3278/head
Jacky Wang 4 years ago
parent f79ce076fe
commit 420a240c47
No known key found for this signature in database
GPG Key ID: 1085CE5F4FF5842C
  1. 8
      test/deploy.sh

@ -106,16 +106,16 @@ function launch_localnet() {
args=("${args[@]}" "--node_type=explorer" "--shard_id=${shard}")
;;
archival)
args=("${args[@]}" --is_archival "--staking=false")
args=("${args[@]}" --is_archival "--run.legacy")
;;
leader)
args=("${args[@]}" --is_leader "--staking=false")
args=("${args[@]}" --is_leader "--run.legacy")
;;
external)
args=("${args[@]}" "--staking=true")
continue
;;
client)
continue
args=("${args[@]}" "--run.legacy")
;;
esac

Loading…
Cancel
Save