Skip to content

Commit

Permalink
rename hyperparam commit_reveal_period
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnReedV committed Feb 3, 2025
1 parent 54959f3 commit c380a16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/subtensor/src/rpc_info/subnet_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct SubnetInfov2<AccountId: TypeInfo + Encode + Decode> {
identity: Option<SubnetIdentity>,
}

#[freeze_struct("4714b5e2336f7b19")]
#[freeze_struct("7b506df55bd44646")]
#[derive(Decode, Encode, PartialEq, Eq, Clone, Debug, TypeInfo)]
pub struct SubnetHyperparams {
rho: Compact<u16>,
Expand All @@ -76,7 +76,7 @@ pub struct SubnetHyperparams {
max_validators: Compact<u16>,
adjustment_alpha: Compact<u64>,
difficulty: Compact<u64>,
commit_reveal_weights_interval: Compact<u64>,
commit_reveal_period: Compact<u64>,
commit_reveal_weights_enabled: bool,
alpha_high: Compact<u16>,
alpha_low: Compact<u16>,
Expand Down Expand Up @@ -282,7 +282,7 @@ impl<T: Config> Pallet<T> {
max_validators: max_validators.into(),
adjustment_alpha: adjustment_alpha.into(),
difficulty: difficulty.into(),
commit_reveal_weights_interval: commit_reveal_periods.into(),
commit_reveal_period: commit_reveal_periods.into(),
commit_reveal_weights_enabled,
alpha_high: alpha_high.into(),
alpha_low: alpha_low.into(),
Expand Down

0 comments on commit c380a16

Please sign in to comment.