diff --git a/pallets/liquidity-pools/src/mock.rs b/pallets/liquidity-pools/src/mock.rs index 4945190a4f..1cce21ca6d 100644 --- a/pallets/liquidity-pools/src/mock.rs +++ b/pallets/liquidity-pools/src/mock.rs @@ -68,8 +68,6 @@ frame_support::construct_runtime!( AssetRegistry: cfg_mocks::asset_registry::pallet, ForeignInvestment: cfg_mocks::foreign_investment::pallet, Gateway: cfg_mocks::pallet_mock_liquidity_pools_gateway, - DomainAddressToAccountId: cfg_mocks::converter::pallet::, - DomainAccountToDomainAddress: cfg_mocks::converter::pallet::, TransferFilter: cfg_mocks::pre_conditions::pallet, MarketRatio: cfg_mocks::token_swaps::pallet, Tokens: orml_tokens, @@ -119,16 +117,6 @@ impl cfg_mocks::pallet_mock_liquidity_pools_gateway::Config for Runtime { type Message = crate::Message; } -impl cfg_mocks::converter::pallet::Config for Runtime { - type From = DomainAddress; - type To = AccountId; -} - -impl cfg_mocks::converter::pallet::Config for Runtime { - type From = (Domain, [u8; 32]); - type To = DomainAddress; -} - impl cfg_mocks::pre_conditions::pallet::Config for Runtime { type Conditions = (AccountId, DomainAddress, CurrencyId); type Result = DispatchResult; @@ -172,8 +160,6 @@ impl pallet_liquidity_pools::Config for Runtime { type Balance = Balance; type BalanceRatio = Ratio; type CurrencyId = CurrencyId; - type DomainAccountToDomainAddress = DomainAccountToDomainAddress; - type DomainAddressToAccountId = DomainAddressToAccountId; type ForeignInvestment = ForeignInvestment; type GeneralCurrencyPrefix = CurrencyPrefix; type MarketRatio = MarketRatio; diff --git a/runtime/altair/src/lib.rs b/runtime/altair/src/lib.rs index 3889aadaf9..b83156fbc3 100644 --- a/runtime/altair/src/lib.rs +++ b/runtime/altair/src/lib.rs @@ -1737,8 +1737,6 @@ impl pallet_liquidity_pools::Config for Runtime { type Balance = Balance; type BalanceRatio = Ratio; type CurrencyId = CurrencyId; - type DomainAccountToDomainAddress = AccountConverter; - type DomainAddressToAccountId = AccountConverter; type ForeignInvestment = ForeignInvestments; type GeneralCurrencyPrefix = GeneralCurrencyPrefix; type MarketRatio = OrderBook; @@ -1758,7 +1756,7 @@ impl pallet_liquidity_pools::Config for Runtime { parameter_types! { pub const MaxIncomingMessageSize: u32 = 1024; - pub Sender: DomainAddress = gateway::get_gateway_account::(); + pub Sender: DomainAddress = gateway::get_gateway_domain_address::(); } impl pallet_liquidity_pools_gateway::Config for Runtime { diff --git a/runtime/centrifuge/src/lib.rs b/runtime/centrifuge/src/lib.rs index a4e2102a18..282bd30f62 100644 --- a/runtime/centrifuge/src/lib.rs +++ b/runtime/centrifuge/src/lib.rs @@ -1820,8 +1820,6 @@ impl pallet_liquidity_pools::Config for Runtime { type Balance = Balance; type BalanceRatio = Ratio; type CurrencyId = CurrencyId; - type DomainAccountToDomainAddress = AccountConverter; - type DomainAddressToAccountId = AccountConverter; type ForeignInvestment = ForeignInvestments; type GeneralCurrencyPrefix = GeneralCurrencyPrefix; type MarketRatio = OrderBook; @@ -1841,7 +1839,7 @@ impl pallet_liquidity_pools::Config for Runtime { parameter_types! { pub const MaxIncomingMessageSize: u32 = 1024; - pub Sender: DomainAddress = gateway::get_gateway_account::(); + pub Sender: DomainAddress = gateway::get_gateway_domain_address::(); } parameter_types! { diff --git a/runtime/development/src/lib.rs b/runtime/development/src/lib.rs index 973921019e..ec14e30ede 100644 --- a/runtime/development/src/lib.rs +++ b/runtime/development/src/lib.rs @@ -1842,8 +1842,6 @@ impl pallet_liquidity_pools::Config for Runtime { type Balance = Balance; type BalanceRatio = Ratio; type CurrencyId = CurrencyId; - type DomainAccountToDomainAddress = AccountConverter; - type DomainAddressToAccountId = AccountConverter; type ForeignInvestment = ForeignInvestments; type GeneralCurrencyPrefix = GeneralCurrencyPrefix; type MarketRatio = OrderBook; @@ -1863,7 +1861,7 @@ impl pallet_liquidity_pools::Config for Runtime { parameter_types! { pub const MaxIncomingMessageSize: u32 = 1024; - pub Sender: DomainAddress = gateway::get_gateway_account::(); + pub Sender: DomainAddress = gateway::get_gateway_domain_address::(); } impl pallet_liquidity_pools_gateway::Config for Runtime {