-
Notifications
You must be signed in to change notification settings - Fork 743
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
pallet broker: some benchmarks are weightless for kitchensink runtime. Resulting in substrate weight being 0 #6474
Labels
T12-benchmarks
This PR/Issue is related to benchmarking and weights.
Comments
gui1117
added
the
T12-benchmarks
This PR/Issue is related to benchmarking and weights.
label
Nov 14, 2024
Yea the benchmark is broken - the prices are too low for the purchases. Working on a fix. |
This was referenced Nov 15, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 12, 2024
Fix the broker pallet auto-renew benchmarks which have been broken since #4424, yielding `Weightless` due to some prices being set too low, as reported in #6474. Upon further investigation it turned out that the auto-renew contribution to `rotate_sale` was always failing but the error was mapped. This is also fixed at the cost of a bit of setup overhead. Fixes #6474 TODO: - [x] Re-run weights --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <[email protected]>
seadanda
added a commit
that referenced
this issue
Dec 13, 2024
Fix the broker pallet auto-renew benchmarks which have been broken since reported in #6474. Upon further investigation it turned out that the auto-renew contribution to `rotate_sale` was always failing but the error was mapped. This is also fixed at the cost of a bit of setup overhead. Fixes #6474 TODO: - [x] Re-run weights --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <[email protected]> (cherry picked from commit 459b4a6)
seadanda
added a commit
that referenced
this issue
Dec 13, 2024
Fix the broker pallet auto-renew benchmarks which have been broken since reported in #6474. Upon further investigation it turned out that the auto-renew contribution to `rotate_sale` was always failing but the error was mapped. This is also fixed at the cost of a bit of setup overhead. Fixes #6474 TODO: - [x] Re-run weights --------- Co-authored-by: GitHub Action <[email protected]> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <[email protected]> (cherry picked from commit 459b4a6)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
enable_auto_renew
anddisable_auto_renew
benchmarks result inWeightless
when run against the kitchensink runtime. And also when run against the mock runtime.It is not very ideal as we use kitchen sink to get some default weight and some general idea of the cost of the pallet calls.
You can see the weight info resulting from CI here: 4dfe581#diff-394c3120033a81905e5460398ad0d7245d7143d21069aeffb3cdf07b41eccc18
I believe it is weightless since: #4424
@Szegoo
@seadanda
The text was updated successfully, but these errors were encountered: