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

reduce inflation rewards by 50% #880

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading