From ec9c8da4bdf92ab19e7fcae4df2c34cb3fe89687 Mon Sep 17 00:00:00 2001 From: Alessandro Siniscalchi Date: Fri, 11 Oct 2024 15:46:13 +0200 Subject: [PATCH] LAOS xcm_config set for Polkadot --- runtime/laos/src/configs/xcm_config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/laos/src/configs/xcm_config.rs b/runtime/laos/src/configs/xcm_config.rs index 98fd7ca8..a262faa2 100644 --- a/runtime/laos/src/configs/xcm_config.rs +++ b/runtime/laos/src/configs/xcm_config.rs @@ -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, @@ -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::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