File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -629,6 +629,7 @@ pub enum ProxyType {
629
629
Registration ,
630
630
Transfer ,
631
631
SmallTransfer ,
632
+ RootWeights ,
632
633
}
633
634
// Transfers below SMALL_TRANSFER_LIMIT are considered small transfers
634
635
pub const SMALL_TRANSFER_LIMIT : Balance = 500_000_000 ; // 0.5 TAO
@@ -673,6 +674,7 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
673
674
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: root_register { .. } )
674
675
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: burned_register { .. } )
675
676
| RuntimeCall :: Triumvirate ( ..)
677
+ | RuntimeCall :: RootWeights ( ..)
676
678
) ,
677
679
ProxyType :: Triumvirate => matches ! (
678
680
c,
@@ -695,6 +697,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
695
697
RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: burned_register { .. } )
696
698
| RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: register { .. } )
697
699
) ,
700
+ ProxyType :: RootWeights => matches ! (
701
+ c,
702
+ RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: set_root_weights { .. } )
703
+ ) ,
698
704
}
699
705
}
700
706
fn is_superset ( & self , o : & Self ) -> bool {
You can’t perform that action at this time.
0 commit comments