diff --git a/Cargo.toml b/Cargo.toml index 1c422aac..4c1c01b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -160,7 +160,7 @@ cumulus-client-consensus-relay-chain = {git = "https://github.com/virto-network/ cumulus-client-network = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} cumulus-client-parachain-inherent = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} cumulus-client-service = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} -cumulus-primitives-aura = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} +cumulus-primitives-aura = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0", default-features = false} cumulus-primitives-parachain-inherent = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} cumulus-relay-chain-interface = {git = "https://github.com/virto-network/polkadot-sdk", branch = "release-virto-v1.12.0"} diff --git a/runtime/kreivo/Cargo.toml b/runtime/kreivo/Cargo.toml index 57342a71..3f2dfe4a 100644 --- a/runtime/kreivo/Cargo.toml +++ b/runtime/kreivo/Cargo.toml @@ -113,6 +113,7 @@ std = [ "cumulus-pallet-session-benchmarking/std", "cumulus-pallet-xcm/std", "cumulus-pallet-xcmp-queue/std", + "cumulus-primitives-aura/std", "cumulus-primitives-core/std", "cumulus-primitives-timestamp/std", "cumulus-primitives-utility/std", diff --git a/runtime/kreivo/build.rs b/runtime/kreivo/build.rs index 81091a81..9c3b8e3e 100644 --- a/runtime/kreivo/build.rs +++ b/runtime/kreivo/build.rs @@ -17,7 +17,11 @@ use substrate_wasm_builder::WasmBuilder; #[cfg(all(feature = "std", not(feature = "metadata-hash")))] fn main() { - WasmBuilder::build_using_defaults() + WasmBuilder::new() + .with_current_project() + .export_heap_base() + .import_memory() + .build() } #[cfg(all(feature = "std", feature = "metadata-hash"))] @@ -29,11 +33,3 @@ fn main() { #[cfg(not(feature = "std"))] fn main() {} - -// fn main() { -// WasmBuilder::new() -// .with_current_project() -// .export_heap_base() -// .import_memory() -// .build() -// } diff --git a/runtime/kreivo/src/lib.rs b/runtime/kreivo/src/lib.rs index 9c6c7f9b..2bef07b5 100644 --- a/runtime/kreivo/src/lib.rs +++ b/runtime/kreivo/src/lib.rs @@ -36,6 +36,8 @@ use sp_std::prelude::*; use sp_version::NativeVersion; use sp_version::RuntimeVersion; use virto_common::CommunityId; + +pub use apis::RuntimeApi; pub use virto_common::FungibleAssetLocation; use frame_support::{