File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-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
+ ChildKeys ,
646
647
SudoUncheckedSetCode ,
647
648
}
648
649
// Transfers below SMALL_TRANSFER_LIMIT are considered small transfers
@@ -664,6 +665,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
664
665
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: remove_stake { .. } )
665
666
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: burned_register { .. } )
666
667
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: root_register { .. } )
668
+ | RuntimeCall :: SubtensorModule (
669
+ pallet_subtensor:: Call :: schedule_swap_coldkey { .. }
670
+ )
671
+ | RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: swap_hotkey { .. } )
667
672
) ,
668
673
ProxyType :: Transfer => matches ! (
669
674
c,
@@ -716,6 +721,13 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
716
721
c,
717
722
RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: set_root_weights { .. } )
718
723
) ,
724
+ ProxyType :: ChildKeys => matches ! (
725
+ c,
726
+ RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: set_children { .. } )
727
+ | RuntimeCall :: SubtensorModule (
728
+ pallet_subtensor:: Call :: set_childkey_take { .. }
729
+ )
730
+ ) ,
719
731
ProxyType :: SudoUncheckedSetCode => match c {
720
732
RuntimeCall :: Sudo ( pallet_sudo:: Call :: sudo_unchecked_weight { call, weight : _ } ) => {
721
733
let inner_call: RuntimeCall = * call. clone ( ) ;
You can’t perform that action at this time.
0 commit comments