We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9ef883 commit 20f4b3bCopy full SHA for 20f4b3b
contract-tests/run-ci.sh
@@ -2,6 +2,8 @@
2
3
echo "start run-ci.sh"
4
5
+cargo build --release -p node-subtensor --features fast-runtime
6
+
7
cd contract-tests
8
9
cd bittensor
@@ -12,10 +14,12 @@ cargo contract build --release
12
14
13
15
cd ../..
16
-scripts/localnet.sh &>/dev/null &
17
+# scripts/localnet.sh &>/dev/null &
18
19
+target/release/node-subtensor --dev --tmp &>/dev/null &
20
21
i=1
-while [ $i -le 2000 ]; do
22
+while [ $i -le 100 ]; do
23
if nc -z localhost 9944; then
24
echo "node subtensor is running after $i seconds"
25
break
@@ -25,7 +29,7 @@ while [ $i -le 2000 ]; do
29
done
26
30
27
31
# port not available exit with error
28
-if [ "$i" -eq 2000 ]; then
32
+if [ "$i" -eq 100 ]; then
33
exit 1
34
fi
35
0 commit comments