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

bench-bot: example commands #63

Closed
joao-paulo-parity opened this issue Jul 13, 2022 · 3 comments
Closed

bench-bot: example commands #63

joao-paulo-parity opened this issue Jul 13, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@joao-paulo-parity
Copy link
Contributor

joao-paulo-parity commented Jul 13, 2022

bench-bot

Substrate

/cmd queue -c bench-bot $ pallet runtime pallet_name

Example:

/cmd queue -c bench-bot $ pallet dev pallet_contracts

Polkadot

Pallet

/cmd queue -c bench-bot $ runtime runtime pallet_name

Example:

/cmd queue -c bench-bot $ runtime westend-dev pallet_balances

XCM

/cmd queue -c bench-bot $ xcm runtime pallet_name

Example:

/cmd queue -c bench-bot $ xcm westend-dev pallet_balances

Cumulus

Note: The chain_type argument in the following commands can be one of the folders inside of parachains/runtimes, i.e. as of this writing assets, testing, testing and contracts.

Pallet

/cmd queue -c bench-bot $ pallet runtime chain_type pallet_name

Example:

/cmd queue -c bench-bot $ pallet statemine assets pallet_xcm_benchmarks::generic

XCM

/cmd queue -c bench-bot $ xcm runtime chain_type pallet_name

Example:

/cmd queue -c bench-bot $ xcm statemine assets pallet_xcm_benchmarks::generic


To patch some external branch into the command's branch before running, use the syntax -v PATCH_[repository]=[PR_NUMBER | BRANCH]. This syntax can be used multiple times in case you need to use multiple branches. Examples:

  • Patch Substrate PR number 11756 into the command's branch
    • /cmd queue -v PATCH_substrate=11756 -c bench-bot $ [...args]
  • Patch Substrate branch next into the command's branch
    • /cmd queue -v PATCH_substrate=next -c bench-bot $ [...args]
@joao-paulo-parity
Copy link
Contributor Author

Added example for patching feature (#41)

@joao-paulo-parity
Copy link
Contributor Author

Updated command syntax for Cumulus (#67)

@muharem
Copy link

muharem commented Aug 4, 2022

Docs on pull request commands and queue commend
https://github.com/paritytech/command-bot#pull-request-commands-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants