Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Dec 18, 2024
1 parent 735f466 commit b17ee23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/crab/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ frame_support::parameter_types! {
0,
[PalletInstance(<Balances as frame_support::traits::PalletInfoAccess>::index() as u8)]
);
pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
pub UniversalLocation: InteriorLocation =
[GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into();
/// The amount of weight an XCM operation takes. This is a safe overestimate.
pub BaseXcmWeight: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(1_000_000_000, 1024);
pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
Expand Down
3 changes: 2 additions & 1 deletion runtime/darwinia/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ frame_support::parameter_types! {
0,
[PalletInstance(<Balances as frame_support::traits::PalletInfoAccess>::index() as u8)]
);
pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
pub UniversalLocation: InteriorLocation =
[GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into();
/// The amount of weight an XCM operation takes. This is a safe overestimate.
pub BaseXcmWeight: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(1_000_000_000, 1024);
/// Xcm fees will go to the treasury account
Expand Down
3 changes: 2 additions & 1 deletion runtime/koi/src/pallets/polkadot_xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ frame_support::parameter_types! {
0,
[PalletInstance(<Balances as frame_support::traits::PalletInfoAccess>::index() as u8)]
);
pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
pub UniversalLocation: InteriorLocation =
[GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into();
/// The amount of weight an XCM operation takes. This is a safe overestimate.
pub BaseXcmWeight: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(1_000_000_000, 1024);
/// Xcm fees will go to the treasury account
Expand Down

0 comments on commit b17ee23

Please sign in to comment.