Skip to content

Commit 913fb1a

Browse files
committed
remove SubnetInfov3 struct
1 parent 625a3e0 commit 913fb1a

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

pallets/subtensor/src/rpc_info/subnet_info.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,30 +51,6 @@ pub struct SubnetInfov2<T: Config> {
5151
identity: Option<SubnetIdentityV2>,
5252
}
5353

54-
#[freeze_struct("dd91200554b75bc4")]
55-
#[derive(Decode, Encode, PartialEq, Eq, Clone, Debug)]
56-
pub struct SubnetInfov3<T: Config> {
57-
netuid: Compact<u16>,
58-
rho: Compact<u16>,
59-
kappa: Compact<u16>,
60-
difficulty: Compact<u64>,
61-
immunity_period: Compact<u16>,
62-
max_allowed_validators: Compact<u16>,
63-
min_allowed_weights: Compact<u16>,
64-
max_weights_limit: Compact<u16>,
65-
scaling_law_power: Compact<u16>,
66-
subnetwork_n: Compact<u16>,
67-
max_allowed_uids: Compact<u16>,
68-
blocks_since_last_step: Compact<u64>,
69-
tempo: Compact<u16>,
70-
network_modality: Compact<u16>,
71-
network_connect: Vec<[u16; 2]>,
72-
emission_values: Compact<u64>,
73-
burn: Compact<u64>,
74-
owner: T::AccountId,
75-
identity: Option<SubnetIdentityV2>,
76-
}
77-
7854
#[freeze_struct("a2dd2fcd6f4d4ff8")]
7955
#[derive(Decode, Encode, PartialEq, Eq, Clone, Debug)]
8056
pub struct SubnetHyperparams {

0 commit comments

Comments
 (0)