diff --git a/zenlink-protocol/src/fee/mock.rs b/zenlink-protocol/src/fee/mock.rs index e431217..4e72fa6 100644 --- a/zenlink-protocol/src/fee/mock.rs +++ b/zenlink-protocol/src/fee/mock.rs @@ -154,6 +154,7 @@ impl Config for Test { type TargetChains = (); type SelfParaId = (); type WeightInfo = (); + type ControlOrigin = frame_system::EnsureRoot; } pub type DexPallet = Pallet; diff --git a/zenlink-protocol/src/foreign/mock.rs b/zenlink-protocol/src/foreign/mock.rs index 2455b68..2358052 100644 --- a/zenlink-protocol/src/foreign/mock.rs +++ b/zenlink-protocol/src/foreign/mock.rs @@ -90,6 +90,7 @@ impl Config for Test { type TargetChains = (); type SelfParaId = (); type WeightInfo = (); + type ControlOrigin = frame_system::EnsureRoot; } pub type DexPallet = Pallet; diff --git a/zenlink-protocol/src/swap/mock.rs b/zenlink-protocol/src/swap/mock.rs index 7c2fa7d..54ea1d0 100644 --- a/zenlink-protocol/src/swap/mock.rs +++ b/zenlink-protocol/src/swap/mock.rs @@ -154,6 +154,7 @@ impl Config for Test { type TargetChains = (); type SelfParaId = (); type WeightInfo = (); + type ControlOrigin = frame_system::EnsureRoot; } pub type DexPallet = Pallet; diff --git a/zenlink-swap-router/src/mock.rs b/zenlink-swap-router/src/mock.rs index 4e5970f..6526d34 100644 --- a/zenlink-swap-router/src/mock.rs +++ b/zenlink-swap-router/src/mock.rs @@ -219,6 +219,7 @@ impl zenlink_protocol::Config for Test { type TargetChains = (); type SelfParaId = SelfParaId; type WeightInfo = (); + type ControlOrigin = frame_system::EnsureRoot; } impl Config for Test {