Commit d090fee 1 parent 460601c commit d090fee Copy full SHA for d090fee
File tree 2 files changed +545
-534
lines changed
substrate-node/pallets/pallet-tfgrid/src
2 files changed +545
-534
lines changed Original file line number Diff line number Diff line change 54
54
do
55
55
rm $weights_rs_file
56
56
pal_name=$(awk -F'pallets/|/src' '{print $2}' <<< $weights_rs_file)
57
- ./target/release/tfchain benchmark pallet --chain=dev --pallet="$pal_name" \
58
- --extrinsic="*" --steps=50 --repeat=20 --execution=wasm --heap-pages=409 \
59
- --output ./pallets/"$pal_name"/src/weights.rs --template ./.maintain/frame-weight-template.hbs
57
+ ./target/production/tfchain benchmark pallet \
58
+ --chain=dev \
59
+ --wasm-execution=compiled \
60
+ --pallet="$pal_name" \
61
+ --extrinsic="*" \
62
+ --steps=50 \
63
+ --repeat=20 \
64
+ --heap-pages=409 \
65
+ --output ./pallets/"$pal_name"/src/weights.rs \
66
+ --template ./.maintain/frame-weight-template.hbs
60
67
done
61
68
62
69
- name : Commit & Push changes
You can’t perform that action at this time.
0 commit comments