Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizdave97 committed Sep 12, 2024
1 parent 684fe15 commit 1d69ae6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion parachain/runtimes/gargantua/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ extern crate alloc;
mod ismp;
mod weights;
pub mod xcm;

#[cfg(feature = "runtime-benchmarks")]
use alloc::sync::Arc;
use alloc::vec::Vec;
use cumulus_pallet_parachain_system::{RelayChainState, RelayNumberMonotonicallyIncreases};
use cumulus_primitives_core::AggregateMessageOrigin;
Expand Down Expand Up @@ -104,6 +105,10 @@ use sp_core::{crypto::AccountId32, Get};
use sp_runtime::traits::IdentityLookup;
use staging_xcm::latest::Location;

#[cfg(feature = "runtime-benchmarks")]
use sp_core::crypto::FromEntropy;
#[cfg(feature = "runtime-benchmarks")]
use staging_xcm::latest::{Junction, Junctions::X1};
/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.
pub type Signature = MultiSignature;

Expand Down
6 changes: 6 additions & 0 deletions parachain/runtimes/nexus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ extern crate alloc;
mod ismp;
mod weights;
pub mod xcm;
#[cfg(feature = "runtime-benchmarks")]
use alloc::sync::Arc;

use cumulus_primitives_core::AggregateMessageOrigin;
use frame_support::traits::TransformOrigin;
Expand Down Expand Up @@ -315,8 +317,12 @@ use pallet_ismp::mmr::Leaf;
#[cfg(feature = "runtime-benchmarks")]
use pallet_treasury::ArgumentsFactory;
use sp_core::crypto::AccountId32;
#[cfg(feature = "runtime-benchmarks")]
use sp_core::crypto::FromEntropy;
use sp_runtime::traits::IdentityLookup;
use staging_xcm::latest::Location;
#[cfg(feature = "runtime-benchmarks")]
use staging_xcm::latest::{Junction, Junctions::X1};

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
impl frame_system::Config for Runtime {
Expand Down

0 comments on commit 1d69ae6

Please sign in to comment.