File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ for chain in ${chains//,/ }; do
138138
139139 # TODO: Uncomment and reuse output once benchmark command is updated to correctly calculate PoV
140140 # using JSON file as the input. At the moment of updating this script, it doesn't work properly.
141- # Once it's fixed, uncomment the lines below, and remove the comment '--json-input' from below.
141+ # Once it's fixed, return the '--json-input' to the commands below.
142142 #
143143 # # Run benchmarks & generate the weight file as JSON.
144144 # OUTPUT=$(
@@ -152,8 +152,7 @@ for chain in ${chains//,/ }; do
152152
153153 OUTPUT=$(
154154 " ${BASE_COMMAND[@]} " \
155- # --json-input="$JSON_WEIGHT_FILE" \
156- --output=" $PALLET_WEIGHT_FILE " \
155+ --output=" $PALLET_WEIGHT_FILE " \
157156 --template=./scripts/templates/pallet-weight-template.hbs 2>&1
158157 )
159158 if [ $? -ne 0 ]; then
@@ -163,7 +162,6 @@ for chain in ${chains//,/ }; do
163162
164163 OUTPUT=$(
165164 " ${BASE_COMMAND[@]} " \
166- # --json-input="$JSON_WEIGHT_FILE" \
167165 --output=" $RUNTIME_WEIGHT_FILE " \
168166 --template=./scripts/templates/runtime-weight-template.hbs 2>&1
169167 )
You can’t perform that action at this time.
0 commit comments