Skip to content

Commit

Permalink
Merge pull request #30 from debionetwork/dev-kresna
Browse files Browse the repository at this point in the history
[minor]refactor: NativeVersion and RuntimeVersion
  • Loading branch information
kevinjanada authored Jul 3, 2021
2 parents f68816d + 6375f28 commit d449a78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

// Make the WASM binary available.
#[cfg(feature = "std")]
use sp_version::NativeVersion;
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
use sp_version::RuntimeVersion;

use sp_std::prelude::*;
use sp_core::{crypto::KeyTypeId, OpaqueMetadata};
Expand All @@ -19,9 +21,6 @@ use sp_api::impl_runtime_apis;
use sp_consensus_aura::sr25519::AuthorityId as AuraId;
use pallet_grandpa::{AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList};
use pallet_grandpa::fg_primitives;
use sp_version::RuntimeVersion;
#[cfg(feature = "std")]
use sp_version::NativeVersion;

// A few exports that help ease life for downstream crates.
#[cfg(any(feature = "std", test))]
Expand Down

0 comments on commit d449a78

Please sign in to comment.