Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate errors when skipping xcm benchmarks for collectives-polkadot #446

Open
brenzi opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@brenzi
Copy link
Contributor

brenzi commented Aug 23, 2024

While fixing XCM benchmarking for encointer in #440, I got an error while running xcm::generic benchmarks:
https://gist.github.com/brenzi/bb6050f9cb00d34f279cf1f4e5b6e4ba

I did

~/bin/polkadot-parachain-v1.14.0-runtime-benchmarks benchmark pallet --chain ./encointer-kusama-chain-spec.json --pallet=pallet-xcm-benchmarks::generic --extrinsic="*"

and got Error executing and verifying runtime benchmark: Benchmark not found for this pallet.

This error should be ignored because the benchmark is skipped for our runtime, as this functionality isn't provided by encointer (exactly like people chain for example).

I relalized that a check needs to be removed and that the coretime chain still has this check implemented. I guess it should be removed too?

if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }

@brenzi brenzi changed the title investigate errors when skipping xcm benchmarks investigate errors when skipping xcm benchmarks for collectives-polkadot Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant