Skip to content

Fix command bot bench-all pallet --pallet= when runtime does not provide requested pallet #68

@bkontur

Description

@bkontur

I think it should be possible to fix it, because we have command to list all pallets for runtime:

pallets=($(
  ./target/production/polkadot benchmark pallet --list \
    --chain=./$CHAIN-chain-spec.json |
    tail -n+2 |
    cut -d',' -f1 |
    sort |
    uniq
));

so when runtime does not support a requested pallet, it should just skip and do not fail like this https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5504933 or https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5504934

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions