Skip to content

Commit

Permalink
chore: updated dev-benchmark-pallet.sh output folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandar Brayanov committed Jan 6, 2025
1 parent cbc5f2b commit 1ef85d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/dev-benchmark-pallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,22 @@ fi
TEMPLATE_PATH=benchmarking/frame-weight-runtime-template.hbs \
OUTPUT_PATH=tmp/dancebox_weights \
tools/benchmarking.sh "$PALLET" "*" --check
cp -v tmp/dancebox_weights/$PALLET.rs runtime/dancebox/src/weights/$PALLET.rs
cp -v tmp/dancebox_weights/$PALLET.rs chains/orchestrator-paras/runtime/dancebox/src/weights/$PALLET.rs

# Flashbox weights
TEMPLATE_PATH=benchmarking/frame-weight-runtime-template.hbs \
CHAIN=flashbox_dev \
OUTPUT_PATH=tmp/flashbox_weights \
tools/benchmarking.sh "$PALLET" "*" --check
cp -v tmp/flashbox_weights/$PALLET.rs runtime/flashbox/src/weights/$PALLET.rs
cp -v tmp/flashbox_weights/$PALLET.rs chains/orchestrator-paras/runtime/flashbox/src/weights/$PALLET.rs

# Dancelight weights
BINARY=target/release/tanssi-relay \
TEMPLATE_PATH=benchmarking/frame-weight-runtime-template.hbs \
CHAIN=dancelight-dev \
OUTPUT_PATH=tmp/dancelight_weights \
tools/benchmarking.sh "$PALLET" "*" --check
cp -v tmp/dancelight_weights/$PALLET.rs solo-chains/runtime/dancelight/src/weights/$PALLET.rs
cp -v tmp/dancelight_weights/$PALLET.rs chains/orchestrator-relays/runtime/dancelight/src/weights/$PALLET.rs


# Probably don't need to add weights to templates, change false to true if the pallet is also included in the templates
Expand Down

0 comments on commit 1ef85d3

Please sign in to comment.