Skip to content

Commit

Permalink
fix(kreivo-runtime): missing feature propagation / invalid visiblity …
Browse files Browse the repository at this point in the history
…for RuntimeApi
  • Loading branch information
pandres95 committed Jun 22, 2024
1 parent 1d3255e commit aa47be9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down
1 change: 1 addition & 0 deletions runtime/kreivo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 5 additions & 9 deletions runtime/kreivo/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))]
Expand All @@ -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()
// }
2 changes: 2 additions & 0 deletions runtime/kreivo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down

0 comments on commit aa47be9

Please sign in to comment.