Skip to content

Commit

Permalink
Merge pull request #76 from bifrost-finance/add-control-origin
Browse files Browse the repository at this point in the history
Add control origin
  • Loading branch information
v-van committed Oct 13, 2023
2 parents 6094173 + 328d968 commit 4bcda39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions zenlink-protocol/src/fee/mock.rs
Expand Up @@ -154,6 +154,7 @@ impl Config for Test {
type TargetChains = ();
type SelfParaId = ();
type WeightInfo = ();
type ControlOrigin = frame_system::EnsureRoot<u128>;
}

pub type DexPallet = Pallet<Test>;
Expand Down
1 change: 1 addition & 0 deletions zenlink-protocol/src/foreign/mock.rs
Expand Up @@ -90,6 +90,7 @@ impl Config for Test {
type TargetChains = ();
type SelfParaId = ();
type WeightInfo = ();
type ControlOrigin = frame_system::EnsureRoot<u128>;
}

pub type DexPallet = Pallet<Test>;
Expand Down
1 change: 1 addition & 0 deletions zenlink-protocol/src/swap/mock.rs
Expand Up @@ -154,6 +154,7 @@ impl Config for Test {
type TargetChains = ();
type SelfParaId = ();
type WeightInfo = ();
type ControlOrigin = frame_system::EnsureRoot<u128>;
}

pub type DexPallet = Pallet<Test>;
Expand Down
1 change: 1 addition & 0 deletions zenlink-swap-router/src/mock.rs
Expand Up @@ -219,6 +219,7 @@ impl zenlink_protocol::Config for Test {
type TargetChains = ();
type SelfParaId = SelfParaId;
type WeightInfo = ();
type ControlOrigin = frame_system::EnsureRoot<u128>;
}

impl Config for Test {
Expand Down

0 comments on commit 4bcda39

Please sign in to comment.