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

Generate WeightInfo Automatically #380

Merged
merged 20 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
54f5996
:bug: ($PALLET) Fix bancor bench error
AllenPocketGamer Oct 17, 2021
c80f020
:bug: ($PALLET) Fix vtoken-mint bench error
AllenPocketGamer Oct 17, 2021
05c8399
:wrench: ($PROJ) Add more phony
AllenPocketGamer Oct 18, 2021
5a3270f
:bug: ($PALLETS) Fix benchmark errors that occur by compile
AllenPocketGamer Oct 26, 2021
263b5b6
:sparkles: ($RUNTIME) Supple the benchmark settings that missing on B…
AllenPocketGamer Oct 26, 2021
db87289
:fire: ($RUNTIME) Unlist pallet_* benchmarks
AllenPocketGamer Oct 26, 2021
0378d4c
:recycle: ($SCRIPT) Refactor script that generates weightInfos
AllenPocketGamer Oct 27, 2021
c5c1c34
:fire: ($RUNTIME) Remove useless code
AllenPocketGamer Oct 27, 2021
7dc2fbc
:recycle: ($SCRIPT) Refactor ..
AllenPocketGamer Oct 27, 2021
bd74b6a
:construction_worker: ($CI) Try to generate all-runtime weight files
AllenPocketGamer Oct 27, 2021
de9782b
:art: ($RUNTIME) Format ..
AllenPocketGamer Oct 27, 2021
8f21138
:construction: ($CI) Close check & test temporarily
AllenPocketGamer Oct 27, 2021
de85f38
:construction: ($CI) Working around..
AllenPocketGamer Oct 27, 2021
8f668e5
:bug: ($SCRIPT) Fix Syntax error 2
AllenPocketGamer Oct 27, 2021
6aee672
:construction_worker: ($CI) Modify ci flow
AllenPocketGamer Oct 28, 2021
2a79887
:bug: ($CI) Fix ci syntax error
AllenPocketGamer Oct 28, 2021
0d0f84e
:bug: ($PALLET) Fix bench errors of lightening-redeem
AllenPocketGamer Oct 28, 2021
7cad829
:bug: ($CI) Remove file_pattern option
AllenPocketGamer Oct 28, 2021
c03f372
🤖 ($WEIGHT) Generate weightInfo files automatically
AllenPocketGamer Oct 28, 2021
1d4649b
Merge branch 'develop' into fix-bench-errs
ark930 Nov 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/bifrost/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ runtime-benchmarks = [
"xcm-builder/runtime-benchmarks",
"bifrost-flexible-fee/runtime-benchmarks",
"bifrost-salp/runtime-benchmarks",
"bifrost-salp-lite/runtime-benchmarks",
# "bifrost-salp-lite/runtime-benchmarks",
"bifrost-liquidity-mining/runtime-benchmarks",
"bifrost-token-issuer/runtime-benchmarks",
"bifrost-lightening-redeem/runtime-benchmarks",
Expand Down
3 changes: 1 addition & 2 deletions runtime/bifrost/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,6 @@ impl_runtime_apis! {

list_benchmark!(list, extra, bifrost_flexible_fee, FlexibleFee);
list_benchmark!(list, extra, bifrost_salp, Salp);
list_benchmark!(list, extra, bifrost_salp_lite, SalpLite);
// list_benchmark!(list, extra, bifrost_salp_lite, SalpLite);
list_benchmark!(list, extra, bifrost_liquidity_mining, LiquidityMining);
list_benchmark!(list, extra, bifrost_token_issuer, TokenIssuer);
Expand Down Expand Up @@ -1847,7 +1846,7 @@ impl_runtime_apis! {

add_benchmark!(params, batches, bifrost_flexible_fee, FlexibleFee);
add_benchmark!(params, batches, bifrost_salp, Salp);
add_benchmark!(params, batches, bifrost_salp_lite, SalpLite);
// add_benchmark!(params, batches, bifrost_salp_lite, SalpLite);
add_benchmark!(params, batches, bifrost_liquidity_mining, LiquidityMining);
add_benchmark!(params, batches, bifrost_token_issuer, TokenIssuer);
add_benchmark!(params, batches, bifrost_lightening_redeem, LighteningRedeem);
Expand Down