Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Fixing the bench-bot after substrate changes #91

Merged
merged 1 commit into from
Apr 15, 2022
Merged

Fixing the bench-bot after substrate changes #91

merged 1 commit into from
Apr 15, 2022

Conversation

georgesdib
Copy link
Contributor

Needed after substrate benchmark sub-command change
PR paritytech/substrate#11164

I believe this is what is needed now, but I am not sure.

Needed after substrate `benchmark` sub-command change
PR paritytech/substrate#11164
Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks we were just talking about this!

@@ -227,6 +229,7 @@ var PolkadotRuntimeBenchmarkConfigs = {
"--features=runtime-benchmarks",
"--",
"benchmark",
"pallet",
Copy link
Member

@ggwpez ggwpez Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could also be needed in Lines 328 and 419. Although I dont know what they do 😆
PS: Yea looks like it should be added, otherwise we expose the other commands as well.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From what I understand those are custom "run whatever" commands which could have a different subcommand other than pallet, so I think they can stay as they are. I don't know who's using them anyhow, perhaps @shawntabrizi can shed some light here.

In any case that should not block this PR and we can add it later if necessary.

@joao-paulo-parity
Copy link
Contributor

Thanks for the PR @georgesdib, let's merge this

@joao-paulo-parity joao-paulo-parity merged commit cd3b294 into paritytech:master Apr 15, 2022
wischli added a commit to KILTprotocol/bench-bot that referenced this pull request Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants