From bbb845e7d05c5e178f9b930c42dc7a89d3c50063 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas Date: Tue, 3 Sep 2024 10:49:21 +0100 Subject: [PATCH] apply suggestions from review --- runtime/moonbase/build.rs | 4 ++-- runtime/moonbeam/build.rs | 4 ++-- runtime/moonriver/build.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/moonbase/build.rs b/runtime/moonbase/build.rs index 976277227d..e6b9435b6a 100644 --- a/runtime/moonbase/build.rs +++ b/runtime/moonbase/build.rs @@ -16,7 +16,7 @@ use substrate_wasm_builder::WasmBuilder; -#[cfg(all(not(feature = "metadata-hash")))] +#[cfg(not(feature = "metadata-hash"))] fn main() { WasmBuilder::new() .with_current_project() @@ -25,7 +25,7 @@ fn main() { .build() } -#[cfg(all(feature = "metadata-hash"))] +#[cfg(feature = "metadata-hash")] fn main() { WasmBuilder::new() .with_current_project() diff --git a/runtime/moonbeam/build.rs b/runtime/moonbeam/build.rs index c6e409b9ce..f18022672b 100644 --- a/runtime/moonbeam/build.rs +++ b/runtime/moonbeam/build.rs @@ -16,7 +16,7 @@ use substrate_wasm_builder::WasmBuilder; -#[cfg(all(not(feature = "metadata-hash")))] +#[cfg(not(feature = "metadata-hash"))] fn main() { WasmBuilder::new() .with_current_project() @@ -25,7 +25,7 @@ fn main() { .build() } -#[cfg(all(feature = "metadata-hash"))] +#[cfg(feature = "metadata-hash")] fn main() { WasmBuilder::new() .with_current_project() diff --git a/runtime/moonriver/build.rs b/runtime/moonriver/build.rs index bae3255908..772c2d1e9c 100644 --- a/runtime/moonriver/build.rs +++ b/runtime/moonriver/build.rs @@ -16,7 +16,7 @@ use substrate_wasm_builder::WasmBuilder; -#[cfg(all(not(feature = "metadata-hash")))] +#[cfg(not(feature = "metadata-hash"))] fn main() { WasmBuilder::new() .with_current_project() @@ -25,7 +25,7 @@ fn main() { .build() } -#[cfg(all(feature = "metadata-hash"))] +#[cfg(feature = "metadata-hash")] fn main() { WasmBuilder::new() .with_current_project()