File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
pallets/subtensor/src/rpc_info Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -869,10 +869,14 @@ impl<T: Config> Pallet<T> {
869869 None
870870 } else {
871871 let mut result = SelectiveMetagraph :: default ( ) ;
872+
872873 for index in metagraph_indexes. iter ( ) {
873874 let value = Self :: get_single_selective_mechagraph ( netuid, mecid, * index) ;
874875 result. merge_value ( & value, * index as usize ) ;
875876 }
877+ // always include netuid even the metagraph_indexes doesn't contain it
878+ result. netuid = netuid. into ( ) ;
879+
876880 Some ( result)
877881 }
878882 }
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
223223 // `spec_version`, and `authoring_version` are the same between Wasm and native.
224224 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
225225 // the compatible custom types.
226- spec_version : 324 ,
226+ spec_version : 325 ,
227227 impl_version : 1 ,
228228 apis : RUNTIME_API_VERSIONS ,
229229 transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments