diff --git a/system-parachains/people/people-kusama/build.rs b/system-parachains/people/people-kusama/build.rs index 60f8a12512..03ff62b9e1 100644 --- a/system-parachains/people/people-kusama/build.rs +++ b/system-parachains/people/people-kusama/build.rs @@ -13,14 +13,17 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[cfg(feature = "std")] +#[cfg(all(feature = "std", not(feature = "metadata-hash")))] fn main() { - substrate_wasm_builder::WasmBuilder::new() - .with_current_project() - .export_heap_base() - .import_memory() + substrate_wasm_builder::WasmBuilder::build_using_defaults() +} + +#[cfg(all(feature = "std", feature = "metadata-hash"))] +fn main() { + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("KSM", 12) .build() } #[cfg(not(feature = "std"))] -fn main() {} +fn main() {} \ No newline at end of file