inform all snaps where the network is
This commit is contained in:
parent
5c8cb96f88
commit
7e882dfe62
|
@ -335,7 +335,8 @@ fullnode_start() {
|
||||||
rust-log=$RUST_LOG \
|
rust-log=$RUST_LOG \
|
||||||
default-metrics-rate=$SOLANA_DEFAULT_METRICS_RATE \
|
default-metrics-rate=$SOLANA_DEFAULT_METRICS_RATE \
|
||||||
metrics-config=$SOLANA_METRICS_CONFIG \
|
metrics-config=$SOLANA_METRICS_CONFIG \
|
||||||
setup-args=$SOLANA_SETUP_ARGS \
|
setup-args=$SOLANA_SETUP_ARGS
|
||||||
|
leader-address=$publicIp \
|
||||||
"
|
"
|
||||||
if [[ $class = leader ]]; then
|
if [[ $class = leader ]]; then
|
||||||
nodeConfig="mode=leader+drone $commonNodeConfig"
|
nodeConfig="mode=leader+drone $commonNodeConfig"
|
||||||
|
@ -343,7 +344,7 @@ fullnode_start() {
|
||||||
nodeConfig="$nodeConfig enable-cuda=1"
|
nodeConfig="$nodeConfig enable-cuda=1"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
nodeConfig="mode=validator leader-address=$publicIp $commonNodeConfig"
|
nodeConfig="mode=validator $commonNodeConfig"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
vm_exec "$vmName" "$vmZone" "$vmPublicIp" "Starting $class $count:" \
|
vm_exec "$vmName" "$vmZone" "$vmPublicIp" "Starting $class $count:" \
|
||||||
|
|
Loading…
Reference in New Issue