Skip to content

Commit 51ec551

Browse files
committed
chore: remove 'purge userdata' from start-node.sh
1 parent c53c2c4 commit 51ec551

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

start-node.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ Usage:
5151
-t, --telemetry Flag indicating whether or not to send data to the telemetry server
5252
-r, --rpc Whether to activate rpc
5353
-v, --validator Whether the node should be a validator. Needs NODE_SEED and NODE_KEY environment variables.
54-
-p, --purge-userdata Purges all chain-dependend user data in auxiliary services (ctypes, contacts, messages, ...).
55-
Needs SERVICES_SECRET environment variable.
5654
--devnet Use the KILT devnet instead of the testnet
5755
5856
Examples:
@@ -75,7 +73,6 @@ bootnodes=
7573
node_name=
7674
account_name=
7775
telemetry=0
78-
purge_userdata=0
7976
dry_run=0
8077
rpc=0
8178
validator=0
@@ -93,8 +90,6 @@ while [[ "$1" != "" ]]; do
9390
;;
9491
-v | --validator ) validator=1
9592
;;
96-
-p | --purge-userdata ) purge_userdata=1
97-
;;
9893
-d | --dry-run ) dry_run=1
9994
;;
10095
-r | --rpc ) rpc=1
@@ -166,14 +161,6 @@ if [[ "$telemetry" = "1" ]]; then
166161
arg_telemetry=" --telemetry-url ${TELEMETRY_URL}"
167162
fi
168163

169-
if [[ "$purge_userdata" = "1" ]]; then
170-
echo "Purging user data in services (SERVICES_SECRET=${SERVICES_SECRET})..."
171-
172-
curl -X DELETE -H "Authorization: ${SERVICES_SECRET}" https://services.kilt.io/ctype
173-
curl -X DELETE -H "Authorization: ${SERVICES_SECRET}" https://services.kilt.io/messaging
174-
curl -X DELETE -H "Authorization: ${SERVICES_SECRET}" https://services.kilt.io/contacts
175-
fi
176-
177164
if [[ "$rpc" = "1" ]]; then
178165
arg_rpc=" --ws-port 9944 --ws-external --rpc-external"
179166
fi

0 commit comments

Comments
 (0)