Skip to content

Commit

Permalink
Tweak inflation curve
Browse files Browse the repository at this point in the history
  • Loading branch information
Netherdrake committed Apr 15, 2021
1 parent 347f92f commit 21d80bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ impl pallet_session::historical::Config for Runtime {
}

pallet_staking_reward_curve::build! {
// 2.5% min, 10% max, 50% ideal stake
// 2.5% min, 12.5% max, 50% ideal stake
const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_025_000,
max_inflation: 0_100_000,
max_inflation: 0_125_000,
ideal_stake: 0_500_000,
falloff: 0_050_000,
max_piece_count: 40,
Expand Down Expand Up @@ -1029,7 +1029,7 @@ impl_runtime_apis! {
to,
data,
value,
gas_limit.into(),
gas_limit,
storage_limit,
config.as_ref().unwrap_or(<Runtime as module_evm::Config>::config()),
)
Expand All @@ -1055,7 +1055,7 @@ impl_runtime_apis! {
from,
data,
value,
gas_limit.into(),
gas_limit,
storage_limit,
config.as_ref().unwrap_or(<Runtime as module_evm::Config>::config()),
)
Expand Down

0 comments on commit 21d80bb

Please sign in to comment.