Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Liquid Alpha Paramters In CLI #1999

Open
3 tasks
distributedstatemachine opened this issue Jun 11, 2024 · 0 comments
Open
3 tasks

Implement Liquid Alpha Paramters In CLI #1999

distributedstatemachine opened this issue Jun 11, 2024 · 0 comments

Comments

@distributedstatemachine
Copy link
Contributor

distributedstatemachine commented Jun 11, 2024

Description

In order to support liquid alpha , we need to add the enable the following hyper paramaters to be configurable in the cli:

  • alpha_low: This is set with a default of 0.25
  • alpha_high: This is set with a default of 0.75

We also need to add these parameters to SubnetInfo/ chaindata.py , in order for the struct to remain decodable.

pub struct SubnetHyperparams {
    rho: Compact<u16>,
    kappa: Compact<u16>,
    immunity_period: Compact<u16>,
    min_allowed_weights: Compact<u16>,
    max_weights_limit: Compact<u16>,
    tempo: Compact<u16>,
    min_difficulty: Compact<u64>,
    max_difficulty: Compact<u64>,
    weights_version: Compact<u64>,
    weights_rate_limit: Compact<u64>,
    adjustment_interval: Compact<u16>,
    activity_cutoff: Compact<u16>,
    pub registration_allowed: bool,
    target_regs_per_interval: Compact<u16>,
    min_burn: Compact<u64>,
    max_burn: Compact<u64>,
    bonds_moving_avg: Compact<u64>,
    max_regs_per_block: Compact<u16>,
    serving_rate_limit: Compact<u64>,
    max_validators: Compact<u16>,
    adjustment_alpha: Compact<u64>,
    difficulty: Compact<u64>,
    alpha_high: Compact<u16>, // Add
    alpha_low: Compact<u16>, // Add
}

Acceptance Criteria

Tasks

  • alpha high
  • alpha low
  • Add net subnet hyperparameters

Related Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant