File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
pallets/subtensor/src/rpc_info Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1453,7 +1453,7 @@ impl<T: Config> Pallet<T> {
1453
1453
Some ( SelectiveMetagraphIndex :: Incentives ) => SelectiveMetagraph {
1454
1454
netuid : netuid. into ( ) ,
1455
1455
incentives : Some (
1456
- Incentive :: < T > :: get ( NetUidStorageIndex :: from ( netuid ) )
1456
+ Incentive :: < T > :: get ( netuid_index )
1457
1457
. into_iter ( )
1458
1458
. map ( Compact :: from)
1459
1459
. collect ( ) ,
@@ -1464,7 +1464,7 @@ impl<T: Config> Pallet<T> {
1464
1464
Some ( SelectiveMetagraphIndex :: LastUpdate ) => SelectiveMetagraph {
1465
1465
netuid : netuid. into ( ) ,
1466
1466
last_update : Some (
1467
- LastUpdate :: < T > :: get ( NetUidStorageIndex :: from ( netuid ) )
1467
+ LastUpdate :: < T > :: get ( netuid_index )
1468
1468
. into_iter ( )
1469
1469
. map ( Compact :: from)
1470
1470
. collect ( ) ,
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220
220
// `spec_version`, and `authoring_version` are the same between Wasm and native.
221
221
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222
222
// the compatible custom types.
223
- spec_version : 318 ,
223
+ spec_version : 319 ,
224
224
impl_version : 1 ,
225
225
apis : RUNTIME_API_VERSIONS ,
226
226
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments