Skip to content

Commit c2d8fbd

Browse files
committed
review fixes: removed commented code
1 parent b905d26 commit c2d8fbd

File tree

1 file changed

+2
-4
lines changed
  • contracts/dao/neutron-chain-manager/src

1 file changed

+2
-4
lines changed

contracts/dao/neutron-chain-manager/src/msg.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ impl Strategy {
209209
pub fn get_ccv_update_param_permission(&self) -> Option<CCVUpdateParamsPermission> {
210210
match self {
211211
Strategy::AllowAll => Some(CCVUpdateParamsPermission {
212-
// enabled: true,
213212
blocks_per_distribution_transmission: true,
214213
distribution_transmission_channel: true,
215214
provider_fee_pool_addr_str: true,
@@ -387,8 +386,6 @@ pub struct GlobalfeeUpdateParamsPermission {
387386
#[derive(Eq)]
388387
#[serde(rename_all = "snake_case")]
389388
pub struct CCVUpdateParamsPermission {
390-
// TODO: do we need to manage the param
391-
// pub enabled: bool,
392389
pub blocks_per_distribution_transmission: bool,
393390
pub distribution_transmission_channel: bool,
394391
pub provider_fee_pool_addr_str: bool,
@@ -397,7 +394,8 @@ pub struct CCVUpdateParamsPermission {
397394
pub consumer_redistribution_fraction: bool,
398395
pub historical_entries: bool,
399396
pub unbonding_period: bool,
400-
// !!! DEPRECATED !!! soft_opt_out_threshold is deprecated. see docs/docs/adrs/adr-015-partial-set-security.md
397+
// !!! DEPRECATED !!! soft_opt_out_threshold is deprecated.
398+
// see https://github.com/cosmos/interchain-security/blob/main/docs/docs/adrs/adr-015-partial-set-security.md
401399
pub soft_opt_out_threshold: bool,
402400
pub reward_denoms: bool,
403401
pub provider_reward_denoms: bool,

0 commit comments

Comments
 (0)