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

Commit

Permalink
Companion for #10324 - update frame-benchmarking/runtime-benchmarks (#…
Browse files Browse the repository at this point in the history
…802)

* update frame-benchmarking/runtime-benchmarks

* cargo update

* add more feature flags

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
  • Loading branch information
zjb0807 and shawntabrizi authored Nov 30, 2021
1 parent 5d70b15 commit d246858
Show file tree
Hide file tree
Showing 8 changed files with 246 additions and 245 deletions.
477 changes: 239 additions & 238 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pallets/collator-selection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pallet-aura = { git = 'https://github.com/paritytech/substrate', branch = "maste
[features]
default = ['std']
runtime-benchmarks = [
'frame-benchmarking',
'frame-benchmarking/runtime-benchmarks',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
]
Expand Down
2 changes: 1 addition & 1 deletion pallets/session-benchmarking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pallet-session = { default-features = false, git = 'https://github.com/paritytec
[features]
default = ["std"]
runtime-benchmarks = [
'frame-benchmarking',
'frame-benchmarking/runtime-benchmarks',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
]
Expand Down
2 changes: 1 addition & 1 deletion parachain-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sp-io = { git = "https://github.com/paritytech/substrate", default-features = fa

[features]
default = ["std"]
runtime-benchmarks = ["frame-benchmarking"]
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]
std = [
"codec/std",
"scale-info/std",
Expand Down
2 changes: 1 addition & 1 deletion parachain-template/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ runtime-benchmarks = [
'hex-literal',
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-system-benchmarking",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/statemine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ runtime-benchmarks = [
'hex-literal',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
'frame-benchmarking',
'frame-benchmarking/runtime-benchmarks',
'frame-system-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/statemint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runtime-benchmarks = [
'hex-literal',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
'frame-benchmarking',
'frame-benchmarking/runtime-benchmarks',
'frame-system-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/westmint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runtime-benchmarks = [
'hex-literal',
'sp-runtime/runtime-benchmarks',
'xcm-builder/runtime-benchmarks',
'frame-benchmarking',
'frame-benchmarking/runtime-benchmarks',
'frame-system-benchmarking',
'frame-support/runtime-benchmarks',
'frame-system/runtime-benchmarks',
Expand Down

0 comments on commit d246858

Please sign in to comment.