File tree Expand file tree Collapse file tree 6 files changed +50759
-50739
lines changed Expand file tree Collapse file tree 6 files changed +50759
-50739
lines changed Original file line number Diff line number Diff line change 46
46
RUSTV : ${{ matrix.rust-branch }}
47
47
RUST_BACKTRACE : full
48
48
RUST_BIN_DIR : target/${{ matrix.rust-target }}
49
- SKIP_WASM_BUILD : 1
50
49
TARGET : ${{ matrix.rust-target }}
51
50
steps :
52
51
- name : Check-out repository under $GITHUB_WORKSPACE
94
93
- name : Check plain_spec_finney.json
95
94
run : |
96
95
if [ "$(sha256sum __CI_TESTING__plain_spec_finney.json | awk '{print $1}')" != "$(sha256sum plain_spec_finney.json | awk '{print $1}')" ]; then
97
- echo "plain_spec_finney.json needs to be updated."
96
+ echo "plain_spec_finney.json needs to be updated. Run './scripts/build_all_chainspecs.sh'. "
98
97
exit 1
99
98
else
100
99
echo "plain_spec_finney.json is up to date."
@@ -103,7 +102,7 @@ jobs:
103
102
- name : Check raw_spec_testfinney.json
104
103
run : |
105
104
if [ "$(sha256sum __CI_TESTING__raw_spec_testfinney.json | awk '{print $1}')" != "$(sha256sum raw_spec_testfinney.json | awk '{print $1}')" ]; then
106
- echo "raw_spec_testfinney.json needs to be updated."
105
+ echo "raw_spec_testfinney.json needs to be updated. Run './scripts/build_all_chainspecs.sh' "
107
106
exit 1
108
107
else
109
108
echo "raw_spec_testfinney.json is up to date."
@@ -112,7 +111,7 @@ jobs:
112
111
- name : Check plain_spec_testfinney.json
113
112
run : |
114
113
if [ "$(sha256sum __CI_TESTING__plain_spec_testfinney.json | awk '{print $1}')" != "$(sha256sum plain_spec_testfinney.json | awk '{print $1}')" ]; then
115
- echo "plain_spec_testfinney.json needs to be updated."
114
+ echo "plain_spec_testfinney.json needs to be updated. Run './scripts/build_all_chainspecs.sh' "
116
115
exit 1
117
116
else
118
117
echo "plain_spec_testfinney.json is up to date."
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo " *** Building node..."
4
+ cargo build
5
+
6
+ echo " *** Building chainspecs..."
7
+ ./target/debug/node-subtensor build-spec --raw --chain finney > raw_spec_finney.json
8
+ ./target/debug/node-subtensor build-spec --chain finney > plain_spec_finney.json
9
+
10
+ ./target/debug/node-subtensor build-spec --raw --chain test_finney > raw_spec_testfinney.json
11
+ ./target/debug/node-subtensor build-spec --chain test_finney > plain_spec_testfinney.json
12
+
13
+ echo " *** Done!"
You can’t perform that action at this time.
0 commit comments