mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 07:11:03 +00:00
support opengov calls in proxy definitions (#6366)
This commit is contained in:
@@ -1005,6 +1005,11 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
|
|||||||
RuntimeCall::Bounties(..) |
|
RuntimeCall::Bounties(..) |
|
||||||
RuntimeCall::ChildBounties(..) |
|
RuntimeCall::ChildBounties(..) |
|
||||||
RuntimeCall::Tips(..) |
|
RuntimeCall::Tips(..) |
|
||||||
|
RuntimeCall::ConvictionVoting(..) |
|
||||||
|
RuntimeCall::Referenda(..) |
|
||||||
|
RuntimeCall::FellowshipCollective(..) |
|
||||||
|
RuntimeCall::FellowshipReferenda(..) |
|
||||||
|
RuntimeCall::Whitelist(..) |
|
||||||
RuntimeCall::Claims(..) |
|
RuntimeCall::Claims(..) |
|
||||||
RuntimeCall::Utility(..) |
|
RuntimeCall::Utility(..) |
|
||||||
RuntimeCall::Identity(..) |
|
RuntimeCall::Identity(..) |
|
||||||
@@ -1034,17 +1039,22 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
|
|||||||
RuntimeCall::NominationPools(..) |
|
RuntimeCall::NominationPools(..) |
|
||||||
RuntimeCall::FastUnstake(..)
|
RuntimeCall::FastUnstake(..)
|
||||||
),
|
),
|
||||||
ProxyType::Governance =>
|
ProxyType::Governance => matches!(
|
||||||
matches!(
|
c,
|
||||||
c,
|
RuntimeCall::Democracy(..) |
|
||||||
RuntimeCall::Democracy(..) |
|
RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) |
|
||||||
RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) |
|
RuntimeCall::PhragmenElection(..) |
|
||||||
RuntimeCall::PhragmenElection(..) |
|
RuntimeCall::Treasury(..) |
|
||||||
RuntimeCall::Treasury(..) |
|
RuntimeCall::Bounties(..) |
|
||||||
RuntimeCall::Bounties(..) |
|
RuntimeCall::Tips(..) | RuntimeCall::Utility(..) |
|
||||||
RuntimeCall::Tips(..) | RuntimeCall::Utility(..) |
|
RuntimeCall::ChildBounties(..) |
|
||||||
RuntimeCall::ChildBounties(..)
|
// OpenGov calls
|
||||||
),
|
RuntimeCall::ConvictionVoting(..) |
|
||||||
|
RuntimeCall::Referenda(..) |
|
||||||
|
RuntimeCall::FellowshipCollective(..) |
|
||||||
|
RuntimeCall::FellowshipReferenda(..) |
|
||||||
|
RuntimeCall::Whitelist(..)
|
||||||
|
),
|
||||||
ProxyType::Staking => {
|
ProxyType::Staking => {
|
||||||
matches!(
|
matches!(
|
||||||
c,
|
c,
|
||||||
|
|||||||
Reference in New Issue
Block a user