-
Notifications
You must be signed in to change notification settings - Fork 193
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
fix(inflation): fix default inflation allocation params #1688
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -28,9 +28,9 @@ var ( | |||||||||||||
sdk.MustNewDecFromStr("18063678.8582418"), | ||||||||||||||
} | ||||||||||||||
DefaultInflationDistribution = InflationDistribution{ | ||||||||||||||
StakingRewards: sdk.NewDecWithPrec(27_8, 3), // 27.8% | ||||||||||||||
CommunityPool: sdk.NewDecWithPrec(62_20, 4), // 62.20% | ||||||||||||||
StrategicReserves: sdk.NewDecWithPrec(10, 2), // 10% | ||||||||||||||
CommunityPool: sdk.NewDecWithPrec(35_159141, 8), // 35.159141% | ||||||||||||||
StakingRewards: sdk.NewDecWithPrec(27_757217, 8), // 27.757217% | ||||||||||||||
StrategicReserves: sdk.NewDecWithPrec(37_083642, 8), // 37.083642% | ||||||||||||||
Comment on lines
+31
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The sum of the new percentage values for - CommunityPool: sdk.NewDecWithPrec(35_159141, 8), // 35.159141%
- StakingRewards: sdk.NewDecWithPrec(27_757217, 8), // 27.757217%
- StrategicReserves: sdk.NewDecWithPrec(37_083642, 8), // 37.083642%
+ CommunityPool: sdk.NewDecWithPrec(<correct_value>, 8), // <correct_percentage>%
+ StakingRewards: sdk.NewDecWithPrec(<correct_value>, 8), // <correct_percentage>%
+ StrategicReserves: sdk.NewDecWithPrec(<correct_value>, 8), // <correct_percentage>% Committable suggestion
Suggested change
|
||||||||||||||
} | ||||||||||||||
DefaultEpochsPerPeriod = uint64(30) | ||||||||||||||
DefaultPeriodsPerYear = uint64(12) | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same entry for the fix related to default inflation allocation appears twice in the changelog, which seems to be an oversight and should be consolidated into a single entry.