Closed brenzi closed 3 months ago
@bkontur With the example of the people chain, I added XCM benchmarks to encointer, but pallet-xcm-benchmarks::generic
fails because of skipped benchmarks, whereas people accepts these skips. I seem to be missing some config.
I did:
cargo build -p chain-spec-generator --profile production --features runtime-benchmarks
./target/production/chain-spec-generator --raw encointer-kusama-local > encointer-kusama-chain-spec.json
~/bin/polkadot-parachain-v1.14.0-runtime-benchmarks benchmark pallet --chain ./encointer-kusama-chain-spec.json --pallet=pallet-xcm-benchmarks::generic --extrinsic="*"
which throws errors. change encointer-
to people-
and it works
edit: fixed in 7d2e67c
@brenzi could you please format the code correctly? CI is not happy :D
@bkontur With the example of the people chain, I added XCM benchmarks to encointer, but
pallet-xcm-benchmarks::generic
fails because of skipped benchmarks, whereas people accepts these skips. I seem to be missing some config.I did:
cargo build -p chain-spec-generator --profile production --features runtime-benchmarks ./target/production/chain-spec-generator --raw encointer-kusama-local > encointer-kusama-chain-spec.json ~/bin/polkadot-parachain-v1.14.0-runtime-benchmarks benchmark pallet --chain ./encointer-kusama-chain-spec.json --pallet=pallet-xcm-benchmarks::generic --extrinsic="*"
which throws errors. change
encointer-
topeople-
and it worksedit: fixed in 7d2e67c
@brenzi can you merge this one please: https://github.com/encointer/runtimes/pull/1 ? It fixes the benchmarks for pallet_xcm
which fail here: https://github.com/polkadot-fellows/runtimes/actions/runs/10528553477/job/29174892572?pr=440
(and also I did fmt)
@bkontur thanks for your fix. This also includes one-line changes in other systemchains (coretime and people). Was that on purpose? Seems out of context to this PR, but I don't mind
/merge
Enabled auto-merge
in Pull Request
closes #199
Add xcm benchmark setup for encointer-kusama-runtime