difftreelog
fix allow xcm transact for gov bodies when they exist
in: master
1 file changed
runtime/common/config/xcm/mod.rsdiffbeforeafterboth166impl XcmCallFilter {166impl XcmCallFilter {167 fn allow_gov_and_sys_call(call: &RuntimeCall) -> bool {167 fn allow_gov_and_sys_call(call: &RuntimeCall) -> bool {168 match call {168 match call {169 RuntimeCall::System(..)169 RuntimeCall::System(..) => true,170171 #[cfg(feature = "governance")]170 | RuntimeCall::Identity(..)172 RuntimeCall::Identity(..)171 | RuntimeCall::Preimage(..)173 | RuntimeCall::Preimage(..)172 | RuntimeCall::Democracy(..)174 | RuntimeCall::Democracy(..)173 | RuntimeCall::Council(..)175 | RuntimeCall::Council(..)