1

Getting zsh: no matches found: --pallet=* while running substrate chain benchmarks.

My command-

./target/production/node-template benchmark pallet --chain dev --execution=wasm --wasm-execution=compiled --pallet=* --extrinsic=* --steps 50 --repeat 20 --output pallets/all-weight.rs

2 Answers 2

0

We need to escape * with \. So the above command looks like this -

./target/production/node-template benchmark pallet --chain dev --execution=wasm --wasm-execution=compiled --pallet=\* --extrinsic=\* --steps 50 --repeat 20 --output pallets/all-weight.rs

More info about this issue here

0

This is a common issue in Unix CLI I think.

Use \* or '*'.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.