Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@gui1117
Copy link
Contributor

@gui1117 gui1117 commented Feb 24, 2021

Currently instantiable pallet define with pallet macro cannot use benchmarks_instance because it bounds I: Instance.
Instead this PR introduce a new macro: benchmarks_instance_pallet

Also this PR make use of this macro for pallet-balances. Currently the benchmark only works for the default instance of pallet balance.

@gui1117 gui1117 requested a review from shawntabrizi February 24, 2021 09:04
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Feb 24, 2021
@gui1117 gui1117 added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Feb 24, 2021
@gui1117 gui1117 requested a review from coriolinus February 24, 2021 09:05
Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
@gui1117 gui1117 requested a review from kianenigma February 25, 2021 11:00
Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

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

LGTM

@gui1117 gui1117 merged commit 6fae4a1 into master Feb 25, 2021
@gui1117 gui1117 deleted the gui-benchmark-pallet-instantiable branch February 25, 2021 15:25
jam10o-new pushed a commit to jam10o-new/substrate that referenced this pull request Feb 28, 2021
@gui1117
Copy link
Contributor Author

gui1117 commented Mar 5, 2021

@gnunicorn could we release frame-benchmarking 3.2 with this PR ?

@gnunicorn
Copy link
Contributor

@thiolliere the merge commit has already been released as 3.1:

image

@gui1117
Copy link
Contributor Author

gui1117 commented Mar 5, 2021

damn I forgot, thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants