Skip to content

Commit

Permalink
change default kD and kP params
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Oct 31, 2023
1 parent 233c610 commit 98ce062
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions core/src/types/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,9 +994,9 @@ impl Default for Parameters {
fn default() -> Self {
Self {
max_reward_rate: Dec::from_str("0.1").unwrap(),
kp_gain_nom: Dec::from_str("0.1").unwrap(),
kd_gain_nom: Dec::from_str("0.1").unwrap(),
locked_ratio_target: Dec::from_str("0.1").unwrap(),
kp_gain_nom: Dec::from_str("0.25").unwrap(),
kd_gain_nom: Dec::from_str("0.25").unwrap(),
locked_ratio_target: Dec::from_str("0.6667").unwrap(),
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions genesis/e2e-tests-single-node.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Ester = "1000000"
"validator-0.public_key" = "100"
[token.NAM.parameters]
max_reward_rate = "0.1"
kd_gain_nom = "0.1"
kp_gain_nom = "0.1"
kd_gain_nom = "0.25"
kp_gain_nom = "0.25"
locked_ratio_target = "0.6667"

[token.BTC]
Expand Down

0 comments on commit 98ce062

Please sign in to comment.