Skip to content

Commit

Permalink
fix governance proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
vgantchev committed Sep 18, 2024
1 parent a579fd5 commit 51520cc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions runtime/basilisk/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
ProxyType::CancelProxy => matches!(c, RuntimeCall::Proxy(pallet_proxy::Call::reject_announcement { .. })),
ProxyType::Governance => matches!(
c,
RuntimeCall::Democracy(..)
| RuntimeCall::Council(..)
RuntimeCall::ConvictionVoting(..)
| RuntimeCall::Referenda(..)
| RuntimeCall::TechnicalCommittee(..)
| RuntimeCall::Elections(..)
| RuntimeCall::Treasury(..)
| RuntimeCall::Tips(..)
| RuntimeCall::Utility(..)
),
ProxyType::Exchange => matches!(c, RuntimeCall::XYK(..) | RuntimeCall::LBP(..) | RuntimeCall::NFT(..)),
Expand Down

0 comments on commit 51520cc

Please sign in to comment.