Skip to content

Commit

Permalink
use HereLocation in Trader when handling local fees convertions
Browse files Browse the repository at this point in the history
  • Loading branch information
luispdm committed Oct 28, 2024
1 parent da821dd commit caaeeb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/laos/src/configs/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ pub const ASSET_HUB_ID: u32 = 1000;
pub const RELAY_NETWORK: NetworkId = NetworkId::Polkadot;

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: NetworkId = RELAY_NETWORK;
// Defines the origin for messages coming from the Relay Chain.
Expand Down Expand Up @@ -180,7 +178,7 @@ impl xcm_executor::Config for XcmConfig {
// Converts weight fees into asset payments and handles fee charging.
type Trader = UsingComponents<
<Runtime as pallet_transaction_payment::Config>::WeightToFee,
RelayLocation,
HereLocation,
AccountId,
Balances,
ToAuthor<Runtime>,
Expand Down

0 comments on commit caaeeb2

Please sign in to comment.