File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ pub enum ProxyType {
5050 RootWeights ,
5151 ChildKeys ,
5252 SudoUncheckedSetCode ,
53+ SwapHotkey ,
5354}
5455
5556impl Default for ProxyType {
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
209209 // `spec_version`, and `authoring_version` are the same between Wasm and native.
210210 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
211211 // the compatible custom types.
212- spec_version : 275 ,
212+ spec_version : 276 ,
213213 impl_version : 1 ,
214214 apis : RUNTIME_API_VERSIONS ,
215215 transaction_version : 1 ,
@@ -829,6 +829,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
829829 }
830830 _ => false ,
831831 } ,
832+ ProxyType :: SwapHotkey => matches ! (
833+ c,
834+ RuntimeCall :: SubtensorModule ( pallet_subtensor:: Call :: swap_hotkey { .. } )
835+ ) ,
832836 }
833837 }
834838 fn is_superset ( & self , o : & Self ) -> bool {
You can’t perform that action at this time.
0 commit comments