@@ -87,26 +87,26 @@ echo "*** Building chainspec..."
8787echo " *** Chainspec built and output to file"
8888
8989# Generate node keys
90- " $BUILD_DIR /release/node-subtensor" key generate-node-key --chain=" $FULL_PATH " --base-path /tmp/alice
91- " $BUILD_DIR /release/node-subtensor" key generate-node-key --chain=" $FULL_PATH " --base-path /tmp/bob
90+ " $BUILD_DIR /release/node-subtensor" key generate-node-key --chain=" $FULL_PATH " --base-path /tmp/one
91+ " $BUILD_DIR /release/node-subtensor" key generate-node-key --chain=" $FULL_PATH " --base-path /tmp/two
9292
9393if [ $NO_PURGE -eq 1 ]; then
9494 echo " *** Purging previous state skipped..."
9595else
9696 echo " *** Purging previous state..."
97- " $BUILD_DIR /release/node-subtensor" purge-chain -y --base-path /tmp/bob --chain=" $FULL_PATH " > /dev/null 2>&1
98- " $BUILD_DIR /release/node-subtensor" purge-chain -y --base-path /tmp/alice --chain=" $FULL_PATH " > /dev/null 2>&1
97+ " $BUILD_DIR /release/node-subtensor" purge-chain -y --base-path /tmp/two --chain=" $FULL_PATH " > /dev/null 2>&1
98+ " $BUILD_DIR /release/node-subtensor" purge-chain -y --base-path /tmp/one --chain=" $FULL_PATH " > /dev/null 2>&1
9999 echo " *** Previous chainstate purged"
100100fi
101101
102102if [ $BUILD_ONLY -eq 0 ]; then
103103 echo " *** Starting localnet nodes..."
104104
105- alice_start =(
105+ one_start =(
106106 " $BUILD_DIR /release/node-subtensor"
107- --base-path /tmp/alice
107+ --base-path /tmp/one
108108 --chain=" $FULL_PATH "
109- --alice
109+ --one
110110 --port 30334
111111 --rpc-port 9944
112112 --validator
@@ -116,11 +116,11 @@ if [ $BUILD_ONLY -eq 0 ]; then
116116 --unsafe-force-node-key-generation
117117 )
118118
119- bob_start =(
119+ two_start =(
120120 " $BUILD_DIR /release/node-subtensor"
121- --base-path /tmp/bob
121+ --base-path /tmp/two
122122 --chain=" $FULL_PATH "
123- --bob
123+ --two
124124 --port 30335
125125 --rpc-port 9945
126126 --validator
@@ -132,15 +132,15 @@ if [ $BUILD_ONLY -eq 0 ]; then
132132
133133 # Provide RUN_IN_DOCKER local environment variable if run script in the docker image
134134 if [ " ${RUN_IN_DOCKER} " == " 1" ]; then
135- alice_start +=(--unsafe-rpc-external)
136- bob_start +=(--unsafe-rpc-external)
135+ one_start +=(--unsafe-rpc-external)
136+ two_start +=(--unsafe-rpc-external)
137137 fi
138138
139139 trap ' pkill -P $$' EXIT SIGINT SIGTERM
140140
141141 (
142- (" ${alice_start [@]} " 2>&1 ) &
143- (" ${bob_start [@]} " 2>&1 )
142+ (" ${one_start [@]} " 2>&1 ) &
143+ (" ${two_start [@]} " 2>&1 )
144144 wait
145145 )
146146fi
0 commit comments