Skip to content

Commit 6d22016

Browse files
authored
Merge pull request #1889 from cuteolaf/fix/subnets-info-v2
Rename RPC method `getSubnetsInf_v2`
2 parents 6309d35 + 44f643b commit 6d22016

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pallets/subtensor/rpc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub trait SubtensorCustomApi<BlockHash> {
5454
fn get_subnets_info(&self, at: Option<BlockHash>) -> RpcResult<Vec<u8>>;
5555
#[method(name = "subnetInfo_getSubnetInfo_v2")]
5656
fn get_subnet_info_v2(&self, netuid: NetUid, at: Option<BlockHash>) -> RpcResult<Vec<u8>>;
57-
#[method(name = "subnetInfo_getSubnetsInf_v2")]
57+
#[method(name = "subnetInfo_getSubnetsInfo_v2")]
5858
fn get_subnets_info_v2(&self, at: Option<BlockHash>) -> RpcResult<Vec<u8>>;
5959
#[method(name = "subnetInfo_getSubnetHyperparams")]
6060
fn get_subnet_hyperparams(&self, netuid: NetUid, at: Option<BlockHash>) -> RpcResult<Vec<u8>>;

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
218218
// `spec_version`, and `authoring_version` are the same between Wasm and native.
219219
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
220220
// the compatible custom types.
221-
spec_version: 298,
221+
spec_version: 299,
222222
impl_version: 1,
223223
apis: RUNTIME_API_VERSIONS,
224224
transaction_version: 1,

0 commit comments

Comments
 (0)