Skip to content

Commit

Permalink
reduce inflation rewards by 50% (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj authored Jan 13, 2025
1 parent 44a3cc5 commit 7ac6091
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/mainnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ impl pallet_session::historical::Config for Runtime {
// varies
pallet_staking_reward_curve::build! {
const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_025_000, // min inflation of 2.5%
max_inflation: 0_050_000, // max inflation of 5% (acheived only at ideal stake)
min_inflation: 0_015_000, // min inflation of 1.5%
max_inflation: 0_025_000, // max inflation of 2.5% (acheived only at ideal stake)
ideal_stake: 0_600_000, // ideal stake (60% of total supply)
falloff: 0_050_000,
max_piece_count: 40,
Expand Down
4 changes: 2 additions & 2 deletions runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ impl pallet_session::historical::Config for Runtime {
// varies
pallet_staking_reward_curve::build! {
const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_025_000, // min inflation of 2.5%
max_inflation: 0_050_000, // max inflation of 5% (acheived only at ideal stake)
min_inflation: 0_015_000, // min inflation of 1.5%
max_inflation: 0_025_000, // max inflation of 2.5% (acheived only at ideal stake)
ideal_stake: 0_600_000, // ideal stake (60% of total supply)
falloff: 0_050_000,
max_piece_count: 40,
Expand Down

0 comments on commit 7ac6091

Please sign in to comment.