Skip to content

Commit 8e44a7a

Browse files
Ad96elrflechtner
andauthored
chore: benchmarks (#789)
# fixes: [#3618](KILTprotocol/ticket#3618) build on top of: #799 --------- Co-authored-by: Raphael <[email protected]>
1 parent b2738f5 commit 8e44a7a

File tree

18 files changed

+2089
-199
lines changed

18 files changed

+2089
-199
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ serde = { version = "1.0.144", default-features = false }
4848
serde_json = { version = "1.0.85" }
4949
sha3 = { version = "0.10.0", default-features = false }
5050
smallvec = { version = "1.8.0" }
51-
substrate-fixed = { version = "0.5.9" }
51+
substrate-fixed = { version = "0.5.9", default-features = false }
5252

5353
#tests
5454
xcm-integration-tests = { path = "integration-tests/emulated", default-features = false }

pallets/pallet-bonded-coins/Cargo.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ targets = ["x86_64-unknown-linux-gnu"]
1717
parity-scale-codec = { workspace = true, features = ["derive"] }
1818
scale-info = { workspace = true, features = ["derive"] }
1919
# Substrate
20-
frame-benchmarking = { workspace = true }
20+
frame-benchmarking = { workspace = true, optional = true }
2121
frame-support = { workspace = true }
2222
frame-system = { workspace = true }
2323
pallet-assets = { workspace = true }
2424
sp-arithmetic = { workspace = true }
2525
sp-core = { workspace = true }
2626
sp-runtime = { workspace = true }
2727
sp-std = { workspace = true }
28-
2928
#External
3029
log = { workspace = true }
3130
substrate-fixed = { workspace = true }
@@ -47,13 +46,24 @@ runtime-benchmarks = [
4746
"pallet-assets/runtime-benchmarks",
4847
"pallet-balances/runtime-benchmarks",
4948
]
49+
5050
std = [
51-
"frame-benchmarking/std",
51+
"frame-benchmarking?/std",
5252
"frame-support/std",
5353
"frame-system/std",
54+
"log/std",
5455
"pallet-assets/std",
56+
"pallet-balances/std",
5557
"parity-scale-codec/std",
5658
"scale-info/std",
59+
"sp-arithmetic/std",
60+
"sp-core/std",
61+
"sp-runtime/std",
62+
"sp-std/std",
5763
"substrate-fixed/std",
5864
]
59-
try-runtime = ["frame-support/try-runtime", "frame-system/try-runtime"]
65+
try-runtime = [
66+
"frame-support/try-runtime",
67+
"frame-system/try-runtime",
68+
"pallet-assets/try-runtime",
69+
]

0 commit comments

Comments
 (0)