-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
The pallet-template
benchmark weights depends on substrate's frame-weight-template.hbs which doesn't exists in this repo.
the following command doesn't work:
./target/release/solochain-template-node benchmark pallet \
--chain=dev \
--pallet=pallet_template \
--extrinsic='*' \
--steps=50 \
--repeat=20 \
--wasm-execution=compiled \
--output=pallets/template/src/weights.rs \
--template ../../.maintain/frame-weight-template.hbs
fails with:
Input("Handlebars template file could not be found: \"../../.maintain/frame-weight-template.hbs\"")
I understand the goal of this repo is being a template that doesn't require clone the whole polkadot-sdk repo, so IMO it must be self contained and include the frame-weight-template.hbs
file.
Metadata
Metadata
Assignees
Labels
No labels