Skip to content

Commit 7299815

Browse files
Merge pull request #1 from shutter-network/fix/discovery_namespace
fix discovery_namespace to include instance_id
2 parents f69c94e + 493dc08 commit 7299815

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

shutter/go-shutter-settings/settings/keyper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type KeyperConfig struct {
3434
ListenAddresses []string `env:"SHUTTER_P2P_LISTENADDRESSES"`
3535
AdvertiseAddresses []string `env:"SHUTTER_P2P_ADVERTISEADDRESSES"`
3636
CustomBootstrapAddresses []string `env:"_ASSETS_CUSTOM_BOOTSTRAP_ADDRESSES"`
37-
DiscoveryNamespace string `env:"_ASSETS_DISCOVERY_NAME_PREFIX"`
37+
DiscoveryNamespace string `env:"SHUTTER_DISCOVERY_NAMESPACE"`
3838
}
3939
Shuttermint struct {
4040
ShuttermintURL string `env:"SHUTTER_SHUTTERMINT_SHUTTERMINTURL"`

shutter/scripts/configure_keyper.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export SHUTTER_BEACONAPIURL=$(get_beacon_api_url_from_global_env "$NETWORK" "$SU
2020
export SHUTTER_GNOSIS_NODE_CONTRACTSURL=http://execution.gnosis.dncore.dappnode:8545
2121
export SHUTTER_GNOSIS_NODE_ETHEREUMURL=$(get_execution_ws_url_from_global_env "$NETWORK" "$SUPPORTED_NETWORKS")
2222
export VALIDATOR_PUBLIC_KEY=$(cat "${SHUTTER_CHAIN_DIR}/config/priv_validator_pubkey.hex")
23+
export SHUTTER_DISCOVERY_NAMESPACE="${_ASSETS_DISCOVERY_NAME_PREFIX}-${_ASSETS_INSTANCE_ID}"
2324
export SHUTTER_METRICS_ENABLED=${SHUTTER_PUSH_METRICS_ENABLED}
2425

2526
echo "[INFO | configure] LISTEN: $SHUTTER_P2P_LISTENADDRESSES"

0 commit comments

Comments
 (0)