Skip to content

Commit

Permalink
Sanitize UniversalLocation witth GlobalConsensus paritytech#4238
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Apr 28, 2024
1 parent 62f89dc commit 21493b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ parameter_types! {
parameter_types! {
pub const KsmLocation: Location = Location::parent();
pub const RelayNetwork: NetworkId = NetworkId::Kusama;
pub UniversalLocation: InteriorLocation = Parachain(MsgQueue::parachain_id().into()).into();
pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(MsgQueue::parachain_id().into())].into();
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ parameter_types! {
parameter_types! {
pub const TokenLocation: Location = Here.into_location();
pub RelayNetwork: NetworkId = ByGenesis([0; 32]);
pub UniversalLocation: InteriorLocation = Here;
pub UniversalLocation: InteriorLocation = RelayNetwork::get().into();
pub UnitWeightCost: u64 = 1_000;
}

0 comments on commit 21493b5

Please sign in to comment.