File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -643,6 +643,7 @@ pub enum ProxyType {
643
643
Transfer ,
644
644
SmallTransfer ,
645
645
RootWeights ,
646
+ SetCode ,
646
647
}
647
648
// Transfers below SMALL_TRANSFER_LIMIT are considered small transfers
648
649
pub const SMALL_TRANSFER_LIMIT : Balance = 500_000_000 ; // 0.5 TAO
@@ -688,6 +689,7 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
688
689
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: burned_register { .. } )
689
690
| RuntimeCall :: Triumvirate ( ..)
690
691
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: set_root_weights { .. } )
692
+ | RuntimeCall :: Sudo ( ..)
691
693
) ,
692
694
ProxyType :: Triumvirate => matches ! (
693
695
c,
@@ -714,6 +716,9 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
714
716
c,
715
717
RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: set_root_weights { .. } )
716
718
) ,
719
+ ProxyType :: SetCode => {
720
+ matches ! ( c, RuntimeCall :: System ( frame_system:: Call :: set_code { .. } ) )
721
+ }
717
722
}
718
723
}
719
724
fn is_superset ( & self , o : & Self ) -> bool {
You can’t perform that action at this time.
0 commit comments