Skip to content

Commit

Permalink
ParachainInfo integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Oct 3, 2024
1 parent 8885a9e commit 1ed113e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion xcm-simulator/src/laosish/configs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
mod balances;
mod system;
pub mod xcm_config;
// pub mod xcm_config;

use crate::laosish::Runtime;

impl parachain_info::Config for Runtime {}
6 changes: 4 additions & 2 deletions xcm-simulator/src/laosish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub mod mock_msg_queue {

impl mock_msg_queue::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type XcmExecutor = XcmExecutor<configs::xcm_config::XcmConfig>;
type XcmExecutor = (); // XcmExecutor<configs::xcm_config::XcmConfig>;
}

/// No local origins on this chain are allowed to dispatch XCM sends/executions.
Expand Down Expand Up @@ -265,8 +265,10 @@ construct_runtime!(
pub enum Runtime
{
System: frame_system,
// ParachainSystem: cumulus_pallet_parachain_system,
ParachainInfo: parachain_info,
Balances: pallet_balances,
MsgQueue: mock_msg_queue,
PolkadotXcm: pallet_xcm,
// PolkadotXcm: pallet_xcm,
}
);

0 comments on commit 1ed113e

Please sign in to comment.