git.delta.rocks / unique-network / refs/commits / 06b395f7b928

difftreelog

fix allow xcm transact for gov bodies when they exist

Daniel Shiposha2023-09-28parent: #0f67e15.patch.diff
in: master

1 file changed

modifiedruntime/common/config/xcm/mod.rsdiffbeforeafterboth
166impl 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,
170
171 #[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(..)