Skip to content

Commit

Permalink
LAOS xcm_config set for Polkadot
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Oct 11, 2024
1 parent cd86570 commit ec9c8da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/laos/src/configs/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use xcm::latest::prelude::*;
use xcm_builder::{
AccountKey20Aliases, AllowExplicitUnpaidExecutionFrom, AllowTopLevelPaidExecutionFrom,
DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, FixedWeightBounds,
FrameTransactionalProcessor, FungibleAdapter, IsConcrete, NativeAsset, ParentIsPreset,
FrameTransactionalProcessor, FungibleAdapter, IsConcrete, MintLocation, ParentIsPreset,
RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
SignedAccountKey20AsNative, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId,
UsingComponents, WithComputedOrigin,
Expand All @@ -45,7 +45,7 @@ parameter_types! {
// Represents the location of the Relay Chain (parent in the XCM hierarchy).
pub const RelayLocation: Location = Location::parent();
// Optional network identifier for the Relay Chain; set to `None` for default behavior.
pub const RelayNetwork: Option<NetworkId> = NetworkId::Polkadot;
pub const RelayNetwork: NetworkId = NetworkId::Polkadot;
// Defines the origin for messages coming from the Relay Chain.
pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
// For the real deployment, it is recommended to set `RelayNetwork` according to the relay chain
Expand Down

0 comments on commit ec9c8da

Please sign in to comment.