File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ where
120
120
}
121
121
122
122
#[ precompile:: public( "getTotalColdkeyStake(bytes32)" ) ]
123
+ #[ precompile:: view]
123
124
fn get_total_coldkey_stake (
124
125
_handle : & mut impl PrecompileHandle ,
125
126
coldkey : H256 ,
@@ -131,6 +132,7 @@ where
131
132
}
132
133
133
134
#[ precompile:: public( "getTotalHotkeyStake(bytes32)" ) ]
135
+ #[ precompile:: view]
134
136
fn get_total_hotkey_stake (
135
137
_handle : & mut impl PrecompileHandle ,
136
138
hotkey : H256 ,
@@ -275,6 +277,7 @@ where
275
277
}
276
278
277
279
#[ precompile:: public( "getTotalColdkeyStake(bytes32)" ) ]
280
+ #[ precompile:: view]
278
281
fn get_total_coldkey_stake (
279
282
_handle : & mut impl PrecompileHandle ,
280
283
coldkey : H256 ,
@@ -292,6 +295,7 @@ where
292
295
}
293
296
294
297
#[ precompile:: public( "getTotalHotkeyStake(bytes32)" ) ]
298
+ #[ precompile:: view]
295
299
fn get_total_hotkey_stake (
296
300
_handle : & mut impl PrecompileHandle ,
297
301
hotkey : H256 ,
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
205
205
// `spec_version`, and `authoring_version` are the same between Wasm and native.
206
206
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
207
207
// the compatible custom types.
208
- spec_version : 246 ,
208
+ spec_version : 247 ,
209
209
impl_version : 1 ,
210
210
apis : RUNTIME_API_VERSIONS ,
211
211
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments