Skip to content

Commit

Permalink
fixing collator node build benchmark feature propagation (#249)
Browse files Browse the repository at this point in the history
* fixing collator node build benchmark feature propagation

* fix std leak in test-utils
  • Loading branch information
brenzi authored Feb 7, 2024
1 parent 0525c08 commit a6a00e7
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 27 deletions.
26 changes: 10 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ chrono = { version = "0.4", default-features = false, features = ["serde"] }
derive_more = "0.99.16"
env_logger = "0.9.0"
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
hex-literal = "0.3.3"
hex-literal = "0.4.1"
log = { version = "0.4.20", default-features = false }
rustc-hex = { version = "2.1.0", default-features = false }
serde = { version = "1.0.188", default-features = false, features = ["alloc", "derive"] }
Expand Down
3 changes: 2 additions & 1 deletion claims/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ default = ["std"]

std = [
"claims-primitives/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
Expand All @@ -50,7 +51,7 @@ std = [
"sp-std/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"libsecp256k1/hmac",
Expand Down
5 changes: 3 additions & 2 deletions enclave-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sp-std = { workspace = true }
frame-benchmarking = { workspace = true, optional = true }
hex-literal = { workspace = true, optional = true }
pallet-balances = { workspace = true, optional = true }
test-utils = { path = "../test-utils", optional = true }
test-utils = { default-features = false, path = "../test-utils", optional = true }

[dev-dependencies]
env_logger = { workspace = true }
Expand All @@ -47,6 +47,7 @@ test-utils = { path = "../test-utils" }
default = ["std"]
std = [
"enclave-bridge-primitives/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
Expand All @@ -62,7 +63,7 @@ std = [
"teerex-primitives/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"hex-literal",
"pallet-balances",
"pallet-timestamp/runtime-benchmarks",
Expand Down
5 changes: 3 additions & 2 deletions sidechain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ frame-benchmarking = { workspace = true, optional = true }
hex-literal = { workspace = true, optional = true }
pallet-balances = { workspace = true, optional = true }
teerex-primitives = { path = "../primitives/teerex", default-features = false }
test-utils = { path = "../test-utils", optional = true }
test-utils = { default-features = false, path = "../test-utils", optional = true }

[dev-dependencies]
env_logger = { workspace = true }
Expand All @@ -49,6 +49,7 @@ test-utils = { path = "../test-utils" }
default = ["std"]
std = [
"enclave-bridge-primitives/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
Expand All @@ -66,7 +67,7 @@ std = [
"teerex-primitives/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"hex-literal",
"pallet-balances",
"pallet-timestamp/runtime-benchmarks",
Expand Down
5 changes: 3 additions & 2 deletions teeracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sp-std = { workspace = true }
frame-benchmarking = { workspace = true, optional = true }
hex-literal = { workspace = true, optional = true }
pallet-timestamp = { workspace = true, optional = true }
test-utils = { path = "../test-utils", optional = true }
test-utils = { default-features = false, path = "../test-utils", optional = true }

[dev-dependencies]
sp-externalities = { workspace = true }
Expand All @@ -48,6 +48,7 @@ pallet-timestamp = { workspace = true }
[features]
default = ["std"]
std = [
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
Expand All @@ -63,7 +64,7 @@ std = [
"teerex-primitives/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"hex-literal",
"pallet-timestamp/runtime-benchmarks",
"test-utils",
Expand Down
5 changes: 3 additions & 2 deletions teerex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sp-std = { workspace = true }
frame-benchmarking = { workspace = true, optional = true }
hex-literal = { workspace = true, optional = true }
pallet-balances = { workspace = true, optional = true }
test-utils = { path = "../test-utils", optional = true }
test-utils = { default-features = false, path = "../test-utils", optional = true }

[dev-dependencies]
env_logger = { workspace = true }
Expand All @@ -49,6 +49,7 @@ serde_json = { workspace = true, features = ["std"] }
[features]
default = ["std"]
std = [
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
Expand All @@ -65,7 +66,7 @@ std = [
"webpki/std",
]
runtime-benchmarks = [
"frame-benchmarking",
"frame-benchmarking/runtime-benchmarks",
"hex-literal",
"pallet-balances",
"pallet-timestamp/runtime-benchmarks",
Expand Down
4 changes: 3 additions & 1 deletion xcm-transactor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ scale-info = { workspace = true }
xcm-transactor-primitives = { default-features = false, path = "../primitives/xcm-transactor", features = ["dot", "ksm"] }

# substrate
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
Expand Down Expand Up @@ -48,6 +49,7 @@ sp-keyring = { workspace = true }
default = ["std"]
std = [
"cumulus-primitives-core/std",
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"log/std",
Expand All @@ -60,6 +62,6 @@ std = [
"xcm-transactor-primitives/std",
"staging-xcm/std",
]
runtime-benchmarks = []
runtime-benchmarks = ["frame-benchmarking/runtime-benchmarks"]

try-runtime = ["frame-support/try-runtime"]

0 comments on commit a6a00e7

Please sign in to comment.