Skip to content
Snippets Groups Projects

feat(runtime):gdev: add proxy type SmithsCollectivePropose

Merged Éloïs requested to merge elois-proxy-type-smiths-collective-propose into master
1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
+ 7
0
@@ -164,6 +164,7 @@ pub enum ProxyType {
@@ -164,6 +164,7 @@ pub enum ProxyType {
Any = 0,
Any = 0,
TransferOnly = 1,
TransferOnly = 1,
CancelProxy = 2,
CancelProxy = 2,
 
SmithsCollectivePropose = 3,
}
}
impl Default for ProxyType {
impl Default for ProxyType {
fn default() -> Self {
fn default() -> Self {
@@ -183,6 +184,12 @@ impl frame_support::traits::InstanceFilter<Call> for ProxyType {
@@ -183,6 +184,12 @@ impl frame_support::traits::InstanceFilter<Call> for ProxyType {
Call::Proxy(pallet_proxy::Call::reject_announcement { .. })
Call::Proxy(pallet_proxy::Call::reject_announcement { .. })
)
)
}
}
 
ProxyType::SmithsCollectivePropose => {
 
matches!(
 
c,
 
Call::SmithsCollective(pallet_collective::Call::propose { .. })
 
)
 
}
}
}
}
}
}
}
Loading