Skip to content

Commit

Permalink
zepter & taplo
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Jan 8, 2024
1 parent bf8d710 commit cf2934f
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 9 deletions.
7 changes: 6 additions & 1 deletion balances-tx-payment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ try-runtime = [
"frame-system/try-runtime",
"pallet-encointer-balances/try-runtime",
"pallet-encointer-ceremonies/try-runtime",
"test-utils/try-runtime",
]
runtime-benchmarks = [
"pallet-encointer-balances/runtime-benchmarks",
"pallet-encointer-ceremonies/runtime-benchmarks",
"test-utils/runtime-benchmarks",
]
runtime-benchmarks = []
8 changes: 6 additions & 2 deletions balances/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ std = [
"sp-std/std",
]

runtime-benchmarks = ["approx", "frame-benchmarking"]
runtime-benchmarks = [
"approx",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]

try-runtime = ["frame-system/try-runtime"]
try-runtime = ["frame-system/try-runtime", "test-utils/try-runtime"]
2 changes: 2 additions & 0 deletions bazaar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ std = [
runtime-benchmarks = [
"encointer-communities/runtime-benchmarks",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]

try-runtime = [
"encointer-communities/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]
2 changes: 2 additions & 0 deletions ceremonies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,15 @@ runtime-benchmarks = [
"encointer-scheduler/runtime-benchmarks",
"frame-benchmarking",
"sp-application-crypto",
"test-utils/runtime-benchmarks",
]

try-runtime = [
"encointer-balances/try-runtime",
"encointer-communities/try-runtime",
"encointer-scheduler/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]

mocks = []
2 changes: 2 additions & 0 deletions communities/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ try-runtime = [
"encointer-balances/try-runtime",
"encointer-scheduler/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]
default = ["std"]
std = [
Expand All @@ -59,4 +60,5 @@ runtime-benchmarks = [
"encointer-balances/runtime-benchmarks",
"encointer-scheduler/runtime-benchmarks",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]
2 changes: 2 additions & 0 deletions democracy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ runtime-benchmarks = [
"frame-benchmarking",
"sp-application-crypto",
"sp-core",
"test-utils/runtime-benchmarks",
]

try-runtime = [
Expand All @@ -79,4 +80,5 @@ try-runtime = [
"encointer-communities/try-runtime",
"encointer-scheduler/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]
2 changes: 2 additions & 0 deletions faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ runtime-benchmarks = [
"encointer-communities/runtime-benchmarks",
"encointer-reputation-commitments/runtime-benchmarks",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]

try-runtime = [
"encointer-communities/try-runtime",
"encointer-reputation-commitments/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]
2 changes: 2 additions & 0 deletions primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = []
try-runtime = []
2 changes: 2 additions & 0 deletions reputation-commitments/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ runtime-benchmarks = [
"encointer-communities/runtime-benchmarks",
"encointer-scheduler/runtime-benchmarks",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]

try-runtime = [
"encointer-ceremonies/try-runtime",
"encointer-communities/try-runtime",
"encointer-scheduler/try-runtime",
"frame-system/try-runtime",
"test-utils/try-runtime",
]
4 changes: 2 additions & 2 deletions scheduler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
runtime-benchmarks = ["frame-benchmarking"]
runtime-benchmarks = ["frame-benchmarking", "test-utils/runtime-benchmarks"]

try-runtime = ["frame-system/try-runtime"]
try-runtime = ["frame-system/try-runtime", "test-utils/try-runtime"]
14 changes: 12 additions & 2 deletions test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ sp-runtime = "28.0.0"
sp-std = "12.0.0"

[features]
runtime-benchmarks = []
try-runtime = []
runtime-benchmarks = [
"encointer-balances/runtime-benchmarks",
"encointer-ceremonies/runtime-benchmarks",
"encointer-communities/runtime-benchmarks",
"encointer-scheduler/runtime-benchmarks",
]
try-runtime = [
"encointer-balances/try-runtime",
"encointer-ceremonies/try-runtime",
"encointer-communities/try-runtime",
"encointer-scheduler/try-runtime",
]
std = []
8 changes: 6 additions & 2 deletions vouches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ std = [
"sp-std/std",
]

runtime-benchmarks = ["approx", "frame-benchmarking"]
runtime-benchmarks = [
"approx",
"frame-benchmarking",
"test-utils/runtime-benchmarks",
]

try-runtime = ["frame-system/try-runtime"]
try-runtime = ["frame-system/try-runtime", "test-utils/try-runtime"]

0 comments on commit cf2934f

Please sign in to comment.