Skip to content

Commit

Permalink
Remove unused XCM consts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Sep 15, 2023
1 parent c6d4dfe commit de1cb1d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions runtime/astar/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use super::{
AccountId, AllPalletsWithSystem, AssetId, Assets, AstarAssetLocationIdConverter, Balance,
Balances, DealWithFees, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall,
RuntimeEvent, RuntimeOrigin, TreasuryAccountId, WeightToFee, XcAssetConfig, XcmpQueue,
MAXIMUM_BLOCK_WEIGHT,
};
use frame_support::{
match_types, parameter_types,
Expand Down Expand Up @@ -270,10 +269,6 @@ impl xcm_executor::Config for XcmConfig {
type SafeCallFilter = SafeCallFilter;
}

parameter_types! {
pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(10);
}

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

Expand Down
5 changes: 0 additions & 5 deletions runtime/shibuya/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use super::{
AccountId, AllPalletsWithSystem, AssetId, Assets, Balance, Balances, DealWithFees,
ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin,
ShibuyaAssetLocationIdConverter, TreasuryAccountId, WeightToFee, XcAssetConfig, XcmpQueue,
MAXIMUM_BLOCK_WEIGHT,
};
use frame_support::{
match_types, parameter_types,
Expand Down Expand Up @@ -204,10 +203,6 @@ impl xcm_executor::Config for XcmConfig {
type SafeCallFilter = Everything;
}

parameter_types! {
pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(10);
}

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

Expand Down
5 changes: 0 additions & 5 deletions runtime/shiden/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use super::{
AccountId, AllPalletsWithSystem, AssetId, Assets, Balance, Balances, BurnFees, ParachainInfo,
ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin,
ShidenAssetLocationIdConverter, TreasuryAccountId, WeightToFee, XcAssetConfig, XcmpQueue,
MAXIMUM_BLOCK_WEIGHT,
};
use frame_support::{
match_types, parameter_types,
Expand Down Expand Up @@ -274,10 +273,6 @@ impl xcm_executor::Config for XcmConfig {
type SafeCallFilter = SafeCallFilter;
}

parameter_types! {
pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(10);
}

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

Expand Down

0 comments on commit de1cb1d

Please sign in to comment.