Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Collectives chain xcm filter (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
muharem committed Feb 23, 2023
1 parent 8ea7631 commit bdd7504
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ impl Contains<RuntimeCall> for SafeCallFilter {
RuntimeCall::DmpQueue(..) |
RuntimeCall::Utility(pallet_utility::Call::as_derivative { .. }) |
RuntimeCall::Alliance(
// `init_members` accepts unbounded vecs as arguments,
// but the call can be initiated only by root origin.
pallet_alliance::Call::init_members { .. } |
pallet_alliance::Call::vote { .. } |
pallet_alliance::Call::close_old_weight { .. } |
pallet_alliance::Call::disband { .. } |
Expand All @@ -175,7 +178,8 @@ impl Contains<RuntimeCall> for SafeCallFilter {
pallet_collective::Call::close_old_weight { .. } |
pallet_collective::Call::disapprove_proposal { .. } |
pallet_collective::Call::close { .. },
) => true,
) |
RuntimeCall::PolkadotXcm(pallet_xcm::Call::force_xcm_version { .. }) => true,
_ => false,
}
}
Expand Down

0 comments on commit bdd7504

Please sign in to comment.