diff --git a/precompiles/src/staking.rs b/precompiles/src/staking.rs index 9022f45a36..1d6c2b04ac 100644 --- a/precompiles/src/staking.rs +++ b/precompiles/src/staking.rs @@ -275,6 +275,7 @@ where } #[precompile::public("getTotalColdkeyStake(bytes32)")] + #[precompile::view] fn get_total_coldkey_stake( _handle: &mut impl PrecompileHandle, coldkey: H256, @@ -292,6 +293,7 @@ where } #[precompile::public("getTotalHotkeyStake(bytes32)")] + #[precompile::view] fn get_total_hotkey_stake( _handle: &mut impl PrecompileHandle, hotkey: H256, diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 909207e142..b7fbf261ed 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -205,7 +205,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 246, + spec_version: 247, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,