Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions runtime/acala/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use super::{
constants::fee::*, AcalaTreasuryAccount, AccountId, AssetIdMapping, AssetIdMaps, Balance, Call, Convert,
Currencies, CurrencyId, Event, ExistentialDeposits, FixedRateOfForeignAsset, GetNativeCurrencyId,
NativeTokenExistentialDeposit, Origin, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeBlockWeights,
NativeTokenExistentialDeposit, Origin, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime,
TransactionFeePoolTrader, UnknownTokens, XcmpQueue, ACA, AUSD,
};
use codec::{Decode, Encode};
Expand Down Expand Up @@ -170,10 +170,6 @@ impl xcm_executor::Config for XcmConfig {
type SubscriptionService = PolkadotXcm;
}

parameter_types! {
pub MaxDownwardMessageWeight: Weight = RuntimeBlockWeights::get().max_block / 10;
}

pub type LocalOriginToLocation = SignedToAccountId32<Origin, AccountId, RelayNetwork>;

/// The means for routing XCM messages which are not for local execution into the right message
Expand Down
6 changes: 1 addition & 5 deletions runtime/karura/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use super::{
constants::{fee::*, parachains},
AccountId, AssetIdMapping, AssetIdMaps, Balance, Call, Convert, Currencies, CurrencyId, Event, ExistentialDeposits,
GetNativeCurrencyId, KaruraTreasuryAccount, NativeTokenExistentialDeposit, Origin, ParachainInfo, ParachainSystem,
PolkadotXcm, Runtime, RuntimeBlockWeights, UnknownTokens, XcmInterface, XcmpQueue, KAR, KUSD, LKSM,
PolkadotXcm, Runtime, UnknownTokens, XcmInterface, XcmpQueue, KAR, KUSD, LKSM,
};
use codec::{Decode, Encode};
pub use cumulus_primitives_core::ParaId;
Expand Down Expand Up @@ -232,10 +232,6 @@ impl xcm_executor::Config for XcmConfig {
type SubscriptionService = PolkadotXcm;
}

parameter_types! {
pub MaxDownwardMessageWeight: Weight = RuntimeBlockWeights::get().max_block / 10;
}

pub type LocalOriginToLocation = SignedToAccountId32<Origin, AccountId, RelayNetwork>;

/// The means for routing XCM messages which are not for local execution into the right message
Expand Down
8 changes: 2 additions & 6 deletions runtime/mandala/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
use super::{
constants::fee::*, AccountId, AssetIdMapping, AssetIdMaps, Balance, Call, Convert, Currencies, CurrencyId, Event,
ExistentialDeposits, FixedRateOfForeignAsset, GetNativeCurrencyId, NativeTokenExistentialDeposit, Origin,
ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeBlockWeights, TransactionFeePoolTrader,
TreasuryAccount, UnknownTokens, XcmpQueue, ACA,
ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, TransactionFeePoolTrader, TreasuryAccount, UnknownTokens,
XcmpQueue, ACA,
};
use codec::{Decode, Encode};
pub use cumulus_primitives_core::ParaId;
Expand Down Expand Up @@ -162,10 +162,6 @@ impl xcm_executor::Config for XcmConfig {
type SubscriptionService = PolkadotXcm;
}

parameter_types! {
pub MaxDownwardMessageWeight: Weight = RuntimeBlockWeights::get().max_block / 10;
}

/// No local origins on this chain are allowed to dispatch XCM sends/executions.
pub type LocalOriginToLocation = SignedToAccountId32<Origin, AccountId, RelayNetwork>;

Expand Down