Skip to content

Commit a7232b0

Browse files
committed
rename commit_reveal_period
1 parent ea96bec commit a7232b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/rpc_info/subnet_info.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub struct SubnetInfov3<T: Config> {
7575
identity: Option<SubnetIdentityV2>,
7676
}
7777

78-
#[freeze_struct("55b472510f10e76a")]
78+
#[freeze_struct("a2dd2fcd6f4d4ff8")]
7979
#[derive(Decode, Encode, PartialEq, Eq, Clone, Debug)]
8080
pub struct SubnetHyperparams {
8181
rho: Compact<u16>,
@@ -100,7 +100,7 @@ pub struct SubnetHyperparams {
100100
max_validators: Compact<u16>,
101101
adjustment_alpha: Compact<u64>,
102102
difficulty: Compact<u64>,
103-
commit_reveal_weights_interval: Compact<u64>,
103+
commit_reveal_period: Compact<u64>,
104104
commit_reveal_weights_enabled: bool,
105105
alpha_high: Compact<u16>,
106106
alpha_low: Compact<u16>,
@@ -377,7 +377,7 @@ impl<T: Config> Pallet<T> {
377377
max_validators: max_validators.into(),
378378
adjustment_alpha: adjustment_alpha.into(),
379379
difficulty: difficulty.into(),
380-
commit_reveal_weights_interval: commit_reveal_periods.into(),
380+
commit_reveal_period: commit_reveal_periods.into(),
381381
commit_reveal_weights_enabled,
382382
alpha_high: alpha_high.into(),
383383
alpha_low: alpha_low.into(),

0 commit comments

Comments
 (0)