Skip to content

Commit

Permalink
fix: add developer committee to basefilter (#2855)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfaisal committed Jul 3, 2024
1 parent d318e66 commit e5f9e40
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runtime/rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Democracy(..) |
RuntimeCall::Council(..) |
RuntimeCall::TechnicalCommittee(..) |
RuntimeCall::Treasury(..)
RuntimeCall::Treasury(..) |
RuntimeCall::DeveloperCommittee(..)
),
}
}
Expand Down Expand Up @@ -1290,7 +1291,8 @@ impl Contains<RuntimeCall> for BaseCallFilter {
RuntimeCall::ExtrinsicFilter(_) |
RuntimeCall::Multisig(_) |
RuntimeCall::Council(_) |
RuntimeCall::TechnicalCommittee(_)
RuntimeCall::TechnicalCommittee(_) |
RuntimeCall::DeveloperCommittee(_)
) {
// always allow core calls
return true
Expand Down Expand Up @@ -1325,6 +1327,7 @@ impl Contains<RuntimeCall> for NormalModeFilter {
// memberships
RuntimeCall::CouncilMembership(_) |
RuntimeCall::TechnicalCommitteeMembership(_) |
RuntimeCall::DeveloperCommitteeMembership(_) |
// democracy, we don't subdivide the calls, so we allow public proposals
RuntimeCall::Democracy(_) |
// Preimage
Expand Down

0 comments on commit e5f9e40

Please sign in to comment.